mirror of
https://github.com/pestphp/pest.git
synced 2026-03-10 17:57:23 +01:00
fix: ensures --retry works with errored tests
This commit is contained in:
@ -9,7 +9,7 @@ use Pest\Repositories\AfterAllRepository;
|
||||
use Pest\Repositories\AfterEachRepository;
|
||||
use Pest\Repositories\BeforeAllRepository;
|
||||
use Pest\Repositories\BeforeEachRepository;
|
||||
use Pest\Repositories\TempRepository;
|
||||
use Pest\Repositories\RetryRepository;
|
||||
use Pest\Repositories\TestRepository;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
@ -49,9 +49,9 @@ final class TestSuite
|
||||
public AfterAllRepository $afterAll;
|
||||
|
||||
/**
|
||||
* Holds the retry temp repository.
|
||||
* Holds the retry repository.
|
||||
*/
|
||||
public TempRepository $retryTempRepository;
|
||||
public RetryRepository $retryRepository;
|
||||
|
||||
/**
|
||||
* Holds the root path.
|
||||
@ -75,7 +75,7 @@ final class TestSuite
|
||||
$this->tests = new TestRepository();
|
||||
$this->afterEach = new AfterEachRepository();
|
||||
$this->afterAll = new AfterAllRepository();
|
||||
$this->retryTempRepository = new TempRepository('retry');
|
||||
$this->retryRepository = new RetryRepository('retry');
|
||||
|
||||
$this->rootPath = (string) realpath($rootPath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user