aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-05-18 01:54:02 +0200
committerRobin Appelman <icewind@owncloud.com>2012-05-18 01:54:59 +0200
commit48505c5626a9558ccc825d8b6d85df5d44e9498d (patch)
treeeb0eb9380410ab47dc59801f769dd50dcb2d0e13 /tests
parent5b42325b018dbc696ed932f701480715cb4b3ecb (diff)
downloadnextcloud-server-48505c5626a9558ccc825d8b6d85df5d44e9498d.tar.gz
nextcloud-server-48505c5626a9558ccc825d8b6d85df5d44e9498d.zip
improve tar archive backend
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/filestorage.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lib/filestorage.php b/tests/lib/filestorage.php
index b58e28cefde..f71b658253a 100644
--- a/tests/lib/filestorage.php
+++ b/tests/lib/filestorage.php
@@ -88,6 +88,7 @@ abstract class Test_FileStorage extends UnitTestCase {
//fill a file with string data
$this->instance->file_put_contents('/lorem.txt',$sourceText);
+ $this->assertFalse($this->instance->is_dir('/lorem.txt'));
$this->assertEqual($sourceText,$this->instance->file_get_contents('/lorem.txt'),'data returned from file_get_contents is not equal to the source data');
//empty the file