Skip to content

Commit

Permalink
Update TemporaryDirectoryTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored Sep 25, 2023
1 parent 46b73c5 commit e478301
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/TemporaryDirectoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,9 @@ public function it_can_delete_when_object_is_destroyed()
->deleteWhenDestroyed()
->create();

$this->assertDirectoryExists($fullPath = $temporaryDirectory->path());
$fullPath = $temporaryDirectory->path();

$this->assertDirectoryExists($fullPath);

unset($temporaryDirectory);
$this->assertDirectoryDoesNotExist($fullPath);
Expand Down

0 comments on commit e478301

Please sign in to comment.