mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
feat(expect): updates test suite to use expectation api
This commit is contained in:
@ -20,8 +20,8 @@ afterAll(function () {
|
||||
});
|
||||
|
||||
register_shutdown_function(function () use ($foo) {
|
||||
assertFalse($foo->beforeAll);
|
||||
assertFalse($foo->beforeEach);
|
||||
assertFalse($foo->afterEach);
|
||||
assertFalse($foo->afterAll);
|
||||
expect($foo->beforeAll)->toBeFalse();
|
||||
expect($foo->beforeEach)->toBeFalse();
|
||||
expect($foo->afterEach)->toBeFalse();
|
||||
expect($foo->afterAll)->toBeFalse();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user