diff --git a/composer.json b/composer.json index feff2be..cfe2b93 100644 --- a/composer.json +++ b/composer.json @@ -36,6 +36,9 @@ "phpstan/phpstan": "^1.10.6", "phpunit/phpunit": "^10.1" }, + "conflict": { + "orchestra/testbench-core": "<8.2.0" + }, "config": { "sort-packages": true }, diff --git a/src/Testing/TestCase.php b/src/Testing/TestCase.php index 01d9a8f..b72a20b 100644 --- a/src/Testing/TestCase.php +++ b/src/Testing/TestCase.php @@ -15,28 +15,4 @@ class TestCase extends \Orchestra\Testbench\TestCase * @var array|null */ protected $files = []; - - /** - * Setup the test environment. - */ - protected function setUp(): void - { - parent::setUp(); - - if (InstalledVersions::satisfies(new VersionParser, 'orchestra/testbench-core', '<8.2.0')) { - $this->setUpInteractsWithPublishedFiles(); - } - } - - /** - * Teardown the test environment. - */ - protected function tearDown(): void - { - if (InstalledVersions::satisfies(new VersionParser, 'orchestra/testbench-core', '<8.2.0')) { - $this->tearDownInteractsWithPublishedFiles(); - } - - parent::tearDown(); - } }