Merge branch '2.x' into 3.x

This commit is contained in:
Nuno Maduro
2024-08-22 21:21:52 +01:00
10 changed files with 75 additions and 1588 deletions

View File

@ -291,11 +291,13 @@ trait Testable
$afterEach = ChainableClosure::bound($this->__afterEach, $afterEach);
}
$this->__callClosure($afterEach, $arguments);
try {
$this->__callClosure($afterEach, func_get_args());
} finally {
parent::tearDown();
parent::tearDown();
TestSuite::getInstance()->test = null;
TestSuite::getInstance()->test = null;
}
}
/**