Bladeren bron

Fix directory deletion

Shalvah 4 jaren geleden
bovenliggende
commit
9823738899
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      tests/GenerateDocumentationTest.php

+ 2 - 2
tests/GenerateDocumentationTest.php

@@ -37,8 +37,8 @@ class GenerateDocumentationTest extends TestCase
 
     public function tearDown(): void
     {
-      Utils::deleteDirectoryAndContents('public/docs');
-      Utils::deleteDirectoryAndContents('resources/docs');
+      Utils::deleteDirectoryAndContents('public/docs', realpath(__DIR__."/../"));
+      Utils::deleteDirectoryAndContents('resources/docs', realpath(__DIR__."/../"));
     }
 
     /**