diff --git a/.travis.yml b/.travis.yml index 0db432d..8557b3e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,5 +16,5 @@ before_script: - echo `whoami`":1234" | sudo chpasswd script: - - phpunit --coverage-text - - phpunit --group functional + - php vendor/bin/phpunit --coverage-text + - php vendor/bin/phpunit --group functional diff --git a/tests/Ssh/FunctionalTests/SftpTest.php b/tests/Ssh/FunctionalTests/SftpTest.php index a3e61d4..f3397e2 100644 --- a/tests/Ssh/FunctionalTests/SftpTest.php +++ b/tests/Ssh/FunctionalTests/SftpTest.php @@ -59,6 +59,8 @@ protected function createFixtures() $fs->mkdir($this->tmpDir . '/bar'); $fs->mkdir($this->tmpDir . '/bar/alice'); $fs->dumpFile($this->tmpDir . '/bar/bob.txt', 'SomeContent'); + + $fs->chmod($this->tmpDir, 0777, 0000, true); } protected function createLargeDirectoryTree() @@ -79,6 +81,7 @@ protected function createLargeDirectoryTree() } } } + $fs->chmod($basePath, 0777, 0000, true); } public function testSymlinks() @@ -184,8 +187,8 @@ public function testListDirectory() array( 'files' => array($path . '/bob.txt'), 'directories' => array($path . '/alice'), - ), - $list + ), + $list ); }