diff --git a/tests/OpenCloud/Smoke/Unit/ObjectStore.php b/tests/OpenCloud/Smoke/Unit/ObjectStore.php index dccb74f1b..a24b1a94f 100644 --- a/tests/OpenCloud/Smoke/Unit/ObjectStore.php +++ b/tests/OpenCloud/Smoke/Unit/ObjectStore.php @@ -39,7 +39,7 @@ private function createFiles($dir) { $content = substr(str_shuffle("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 1000); for ($i = 1; $i <= 50; $i++) { - $fh = fopen($dir . self::OBJECT_NAME . "_$i", 'c+'); + $fh = fopen($dir . '/' . self::OBJECT_NAME . "_$i", 'c+'); fwrite($fh, $content); fclose($fh); }