diff --git a/tests/TailwindBuilderTest.php b/tests/TailwindBuilderTest.php index 11cce24..1023802 100644 --- a/tests/TailwindBuilderTest.php +++ b/tests/TailwindBuilderTest.php @@ -26,12 +26,12 @@ protected function setUp(): void protected function tearDown(): void { + $fs = new Filesystem(); $finder = new Finder(); $finder->in(__DIR__.'/fixtures/var/tailwind')->files(); foreach ($finder as $file) { - unlink($file->getRealPath()); + $fs->remove($file->getRealPath()); } - $fs = new Filesystem(); try { $fs->remove(__DIR__.'/fixtures/var/tailwind'); } catch (IOException $e) {