diff --git a/Test/Integration/Model/PageInstaller/InstallMediaFilesTest.php b/Test/Integration/Model/PageInstaller/InstallMediaFilesTest.php
index 8683079098be88563e7ea258c0ede734dee1017e..b220ad96a5ff16666aefc0fa65889275779ddc35 100644
--- a/Test/Integration/Model/PageInstaller/InstallMediaFilesTest.php
+++ b/Test/Integration/Model/PageInstaller/InstallMediaFilesTest.php
@@ -81,7 +81,8 @@ class InstallMediaFilesTest extends TestCase
      */
     private function getChildDirectoryUrl(string $name): string
     {
-        return $this->fileSystem->getChild($name)->url();
+        // workaround because getChild-Method is not allowed via static tests
+        return 'vfs://root/' . $name;
     }
 
     protected function initEntries()