diff --git a/tests/TestCase.php b/tests/TestCase.php index 86b5208..0d4e555 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -26,10 +26,15 @@ public function setUp(): void public function tearDown(): void { - $configFile = __DIR__.'/fixtures/forge.json'; - - if (file_exists($configFile)) { - unlink($configFile); + $configFiles = [ + __DIR__.'/fixtures/forge.json', + __DIR__.'/fixtures/.forge.json', + ]; + + foreach ($configFiles as $configFile) { + if (file_exists($configFile)) { + unlink($configFile); + } } }