Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Aug 20, 2023
1 parent 454f433 commit 0b651ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 24 deletions.
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
"phpstan/phpstan": "^1.10.6",
"phpunit/phpunit": "^10.1"
},
"conflict": {
"orchestra/testbench-core": "<8.2.0"
},
"config": {
"sort-packages": true
},
Expand Down
24 changes: 0 additions & 24 deletions src/Testing/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,4 @@ class TestCase extends \Orchestra\Testbench\TestCase
* @var array<int, string>|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();
}
}

0 comments on commit 0b651ac

Please sign in to comment.