diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/filesystem.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lib/filesystem.php b/tests/lib/filesystem.php index 07c25e1498a..0008336383e 100644 --- a/tests/lib/filesystem.php +++ b/tests/lib/filesystem.php @@ -101,6 +101,7 @@ class Test_Filesystem extends UnitTestCase { $rootView->mkdir('/' . $user); $rootView->mkdir('/' . $user . '/files'); + $this->assertFalse($rootView->file_put_contents('/.htaccess', 'foo')); $this->assertFalse(OC_Filesystem::file_put_contents('/.htaccess', 'foo')); $fh = fopen(__FILE__, 'r'); $this->assertFalse(OC_Filesystem::file_put_contents('/.htaccess', $fh)); |