Renames method to throwsNoExceptions.

This commit is contained in:
Luke Downing
2022-03-22 13:19:23 +00:00
parent 6d5a8a9235
commit 53c20d9cd2
2 changed files with 5 additions and 3 deletions

View File

@ -0,0 +1,11 @@
<?php
it('allows access to the underlying expectNotToPerformAssertions method', function () {
$this->expectNotToPerformAssertions();
$result = 1 + 1;
});
it('allows performing no expectations without being risky', function () {
$result = 1 + 1;
})->throwsNoExceptions();