diff --git a/tests/DemosTest.php b/tests/DemosTest.php index f649dc1..39094bb 100755 --- a/tests/DemosTest.php +++ b/tests/DemosTest.php @@ -9,7 +9,7 @@ class DemosTest extends TestCase { public function tearDown(): void { - if (file_exists(__DIR__.'/../demos/test.log') { + if (file_exists(__DIR__.'/../demos/test.log')) { unlink(__DIR__.'/../demos/test.log'); } }