mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
Renames method to throwsNoExceptions.
This commit is contained in:
@ -161,9 +161,11 @@ final class TestCall
|
||||
}
|
||||
|
||||
/**
|
||||
* Informs the test runner that no expectations happen in this test.
|
||||
* Informs the test runner that no expectations happen in this test,
|
||||
* and its purpose is simply to check whether the given code can
|
||||
* be executed without throwing exceptions.
|
||||
*/
|
||||
public function hasNoExpectations(): TestCall
|
||||
public function throwsNoExceptions(): TestCall
|
||||
{
|
||||
$this->testCaseMethod->proxies->add(Backtrace::file(), Backtrace::line(), 'expectNotToPerformAssertions', []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user