Revert "Merge pull request #413 from def-studio/fix_skipping_tests_with_exception_asserting"

This reverts commit e853792a59, reversing
changes made to 205238fcbf.
This commit is contained in:
Nuno Maduro
2021-10-10 14:40:07 +01:00
parent e853792a59
commit 04dcebf3aa
2 changed files with 1 additions and 7 deletions

View File

@ -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());