Skip to content

Commit

Permalink
Drop the whole dir w/o pre-deleting files one by one
Browse files Browse the repository at this point in the history
  • Loading branch information
bocharsky-bw committed Oct 30, 2024
1 parent e829b35 commit a723b10
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/TailwindBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use Symfony\Component\Cache\Adapter\ArrayAdapter;
use Symfony\Component\Filesystem\Exception\IOException;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Finder\Finder;
use Symfonycasts\TailwindBundle\TailwindBuilder;

class TailwindBuilderTest extends TestCase
Expand All @@ -26,11 +25,6 @@ protected function setUp(): void

protected function tearDown(): void
{
$finder = new Finder();
$finder->in(__DIR__.'/fixtures/var/tailwind')->files();
foreach ($finder as $file) {
unlink($file->getRealPath());
}
$fs = new Filesystem();
try {
$fs->remove(__DIR__.'/fixtures/var/tailwind');
Expand Down

0 comments on commit a723b10

Please sign in to comment.