mirror of
https://github.com/pestphp/pest.git
synced 2026-03-11 02:07:23 +01:00
moved old Expectation in CoreExpectation.php and made Expectation.php a decorator for it
This commit is contained in:
@ -144,8 +144,8 @@ final class TestCaseFactory
|
||||
* @return mixed
|
||||
*/
|
||||
$test = function () use ($chains, $proxies, $factoryTest) {
|
||||
$chains->chain($this);
|
||||
$proxies->proxy($this);
|
||||
$chains->chain($this);
|
||||
|
||||
/* @phpstan-ignore-next-line */
|
||||
return call_user_func(Closure::bind($factoryTest, $this, get_class($this)), ...func_get_args());
|
||||
|
||||
Reference in New Issue
Block a user