diff --git a/test/Compress/ZipTest.php b/test/Compress/ZipTest.php index 0a399ff4..265a8558 100644 --- a/test/Compress/ZipTest.php +++ b/test/Compress/ZipTest.php @@ -22,7 +22,7 @@ public function setUp() $this->markTestSkipped('This adapter needs the zip extension'); } - $this->tmp = sys_get_temp_dir() . '/' . str_replace('\\', '_', __CLASS__); + $this->tmp = sys_get_temp_dir() . DIRECTORY_SEPARATOR . str_replace('\\', '_', __CLASS__); $files = array( $this->tmp . '/compressed.zip', diff --git a/test/File/RenameUploadTest.php b/test/File/RenameUploadTest.php index eb0d2cdc..92128ebf 100644 --- a/test/File/RenameUploadTest.php +++ b/test/File/RenameUploadTest.php @@ -66,9 +66,9 @@ public function setUp() mkdir($this->_filesPath); mkdir($this->_newDir); - $this->_oldFile = $this->_filesPath . '/testfile.txt'; - $this->_newFile = $this->_filesPath . '/newfile.xml'; - $this->_newDirFile = $this->_newDir . '/testfile.txt'; + $this->_oldFile = $this->_filesPath . DIRECTORY_SEPARATOR . 'testfile.txt'; + $this->_newFile = $this->_filesPath . DIRECTORY_SEPARATOR . 'newfile.xml'; + $this->_newDirFile = $this->_newDir . DIRECTORY_SEPARATOR . 'testfile.txt'; touch($this->_oldFile); }