mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
feat(expect): updates test suite to use expectation api
This commit is contained in:
@ -6,7 +6,7 @@ use PHPUnit\Framework\TestCase;
|
||||
uses(Macroable::class);
|
||||
|
||||
beforeEach()->macro('bar', function () {
|
||||
assertInstanceOf(TestCase::class, $this);
|
||||
expect($this)->toBeInstanceOf(TestCase::class);
|
||||
});
|
||||
|
||||
it('can call chained macro method')->bar();
|
||||
|
||||
Reference in New Issue
Block a user