mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
refacto: --retry option
This commit is contained in:
@ -8,7 +8,6 @@ use Closure;
|
||||
use Pest\Contracts\AddsAnnotations;
|
||||
use Pest\Exceptions\ShouldNotHappen;
|
||||
use Pest\Factories\Concerns\HigherOrderable;
|
||||
use Pest\Plugins\Retry;
|
||||
use Pest\Repositories\DatasetsRepository;
|
||||
use Pest\Support\Str;
|
||||
use Pest\TestSuite;
|
||||
@ -129,12 +128,6 @@ final class TestCaseMethodFactory
|
||||
|
||||
$methodName = Str::evaluable($this->description);
|
||||
|
||||
$retryRepository = TestSuite::getInstance()->retryRepository;
|
||||
|
||||
if (Retry::$retrying && ! $retryRepository->isEmpty() && ! $retryRepository->exists(sprintf('%s::%s', $classFQN, $methodName))) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$datasetsCode = '';
|
||||
$annotations = ['@test'];
|
||||
$attributes = [];
|
||||
|
||||
Reference in New Issue
Block a user