refacto: structure

This commit is contained in:
Nuno Maduro
2021-12-05 14:40:08 +00:00
parent e64b6fe924
commit b1f9ce2283
17 changed files with 79 additions and 61 deletions

View File

@ -5,9 +5,9 @@ declare(strict_types=1);
namespace Pest\Factories;
use Closure;
use Pest\Datasets;
use Pest\Exceptions\ShouldNotHappen;
use Pest\Factories\Concerns\HigherOrderable;
use Pest\Repositories\DatasetsRepository;
use Pest\Support\Str;
use Pest\TestSuite;
use PHPUnit\Framework\Assert;
@ -154,7 +154,7 @@ final class TestCaseMethodFactory
*/
private function buildDatasetForEvaluation(string $methodName, string $dataProviderName): string
{
Datasets::with($this->filename, $methodName, $this->datasets);
DatasetsRepository::with($this->filename, $methodName, $this->datasets);
return <<<EOF