Skip to content

Commit

Permalink
Don't delete .gitkeep after integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
svenluijten committed Jan 7, 2024
1 parent fa081af commit 7474323
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Integration/IntegrationTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ protected function tearDown(): void
RecursiveIteratorIterator::CHILD_FIRST,
);

/** @var \SplFileInfo $file */
foreach ($files as $file) {
if ($file->getFilename() === '.gitkeep') {
continue;
}

unlink($file->getRealPath());
}
}
Expand Down

0 comments on commit 7474323

Please sign in to comment.