Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yethee committed May 14, 2024
1 parent def176a commit 8fa87de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Vocab/Loader/DefaultVocabLoaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

use function copy;
use function dirname;
use function file_exists;
use function file_put_contents;
use function hash;
use function rmdir;
Expand Down Expand Up @@ -63,6 +64,10 @@ protected function setUp(): void

protected function tearDown(): void
{
if (! file_exists($this->cacheDir)) {
return;
}

self::removeDir($this->cacheDir);
}

Expand Down

0 comments on commit 8fa87de

Please sign in to comment.