mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 09:17:23 +01:00
fix: ensures --retry works with errored tests
This commit is contained in:
@ -123,7 +123,7 @@ final class TestCaseMethodFactory
|
||||
|
||||
$methodName = Str::evaluable($this->description);
|
||||
|
||||
$retryRepository = TestSuite::getInstance()->retryTempRepository;
|
||||
$retryRepository = TestSuite::getInstance()->retryRepository;
|
||||
|
||||
if (Retry::$retrying && ! $retryRepository->isEmpty() && ! $retryRepository->exists(sprintf('%s::%s', $classFQN, $methodName))) {
|
||||
return '';
|
||||
|
||||
Reference in New Issue
Block a user