diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-10-21 08:38:55 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-10-21 08:38:55 +0400 |
commit | 57225973e00a1333e4f4a702f40f2dd325b03656 (patch) | |
tree | a962f7ce3b1669e2c53514c5a169bd706933142f /tests/PHPUnit/Integration/ServeStaticFileTest.php | |
parent | c759c97550140689b50b6ff9ba4c3665fa39b2a1 (diff) |
Fix few integration tests2.8.1-rc1
Diffstat (limited to 'tests/PHPUnit/Integration/ServeStaticFileTest.php')
-rw-r--r-- | tests/PHPUnit/Integration/ServeStaticFileTest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/PHPUnit/Integration/ServeStaticFileTest.php b/tests/PHPUnit/Integration/ServeStaticFileTest.php index bdf288efd4..236bc748c3 100644 --- a/tests/PHPUnit/Integration/ServeStaticFileTest.php +++ b/tests/PHPUnit/Integration/ServeStaticFileTest.php @@ -51,7 +51,9 @@ class Test_Piwik_ServeStaticFile extends PHPUnit_Framework_TestCase public function tearDown() { parent::tearDown(); - chmod(TEST_FILE_LOCATION, 0644); + if(!chmod(TEST_FILE_LOCATION, 0644)) { + throw new Exception("Could not chmod 0644 " . TEST_FILE_LOCATION); + } } /** |