From e4783010c6dde4c616d412f4708294b8bb195f80 Mon Sep 17 00:00:00 2001 From: Freek Van der Herten Date: Mon, 25 Sep 2023 09:12:48 +0200 Subject: [PATCH] Update TemporaryDirectoryTest.php --- tests/TemporaryDirectoryTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/TemporaryDirectoryTest.php b/tests/TemporaryDirectoryTest.php index 412935d..88035fb 100644 --- a/tests/TemporaryDirectoryTest.php +++ b/tests/TemporaryDirectoryTest.php @@ -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);