mirror of
https://github.com/pestphp/pest.git
synced 2026-07-24 02:20:03 +02:00
fix: package lock fingerprint
This commit is contained in:
@@ -5,9 +5,9 @@ use Tests\Fixtures\Covers\CoversClass1;
|
||||
|
||||
covers([CoversClass1::class]);
|
||||
|
||||
it('uses the correct PHPUnit attribute for class', function () {
|
||||
$attributes = (new ReflectionClass($this))->getAttributes();
|
||||
it('uses the correct PHPUnit attribute for class', function (): void {
|
||||
$attributes = new ReflectionClass($this)->getAttributes();
|
||||
|
||||
expect($attributes[1]->getName())->toBe(CoversClass::class);
|
||||
expect($attributes[1]->getArguments()[0])->toBe('Tests\Fixtures\Covers\CoversClass1');
|
||||
expect($attributes[1]->getName())->toBe(CoversClass::class)
|
||||
->and($attributes[1]->getArguments()[0])->toBe(CoversClass1::class);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user