diff --git a/tests/Integration/CleanupSymlinkIntegrationTest.php b/tests/Integration/CleanupSymlinkIntegrationTest.php index c1073444..f75aa45b 100644 --- a/tests/Integration/CleanupSymlinkIntegrationTest.php +++ b/tests/Integration/CleanupSymlinkIntegrationTest.php @@ -35,6 +35,8 @@ public function testEnsureNoRemovalOfSymlinks(): void $relative_symlinked_package_dir = $main_package_dir . 'vendor/strauss-test/symlinked-package'; + $relative_symlinked_package_dir = str_replace(['/', '\\'], DIRECTORY_SEPARATOR, $relative_symlinked_package_dir); + assert(is_dir($relative_symlinked_package_dir)); $strauss = new Compose();