mirror of
https://github.com/pestphp/pest.git
synced 2026-03-13 03:07:22 +01:00
fix tests
This commit is contained in:
@ -60,10 +60,11 @@ trait Extendable
|
|||||||
|
|
||||||
$decorators = [];
|
$decorators = [];
|
||||||
foreach (self::$decorators[$name] as $decorator) {
|
foreach (self::$decorators[$name] as $decorator) {
|
||||||
//@phpstan-ignore-next-line
|
|
||||||
$decorators[] = $decorator->bindTo($context, $scope);
|
$decorators[] = $decorator->bindTo($context, $scope);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//@phpstan-ignore-next-line
|
||||||
return $decorators;
|
return $decorators;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -113,6 +113,9 @@
|
|||||||
✓ it can just define the message if given condition is true
|
✓ it can just define the message if given condition is true
|
||||||
✓ it can just define the message if given condition is 1
|
✓ it can just define the message if given condition is 1
|
||||||
|
|
||||||
|
PASS Tests\Features\Expect\HigherOrder\decorate
|
||||||
|
✓ pass
|
||||||
|
|
||||||
PASS Tests\Features\Expect\HigherOrder\methods
|
PASS Tests\Features\Expect\HigherOrder\methods
|
||||||
✓ it can access methods
|
✓ it can access methods
|
||||||
✓ it can access multiple methods
|
✓ it can access multiple methods
|
||||||
@ -720,5 +723,5 @@
|
|||||||
✓ it is a test
|
✓ it is a test
|
||||||
✓ it uses correct parent class
|
✓ it uses correct parent class
|
||||||
|
|
||||||
Tests: 4 incompleted, 9 skipped, 478 passed
|
Tests: 4 incompleted, 9 skipped, 479 passed
|
||||||
|
|
||||||
Reference in New Issue
Block a user