summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-11-26 12:53:03 +0100
committerVincent Petry <pvince81@owncloud.com>2013-11-26 12:53:03 +0100
commit712b47757af04d6c62fd8da222aa197c23363678 (patch)
tree7eddf532feb766f4e79f1c12c544f40cc4dc15a5 /apps/files_external
parente102eec89a51af807c1802fb8e382b68e999ebe8 (diff)
downloadnextcloud-server-712b47757af04d6c62fd8da222aa197c23363678.tar.gz
nextcloud-server-712b47757af04d6c62fd8da222aa197c23363678.zip
Updated unit tests for SMB
- coverage for touch return value - fixed directory provider to exclude unsupported cases
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/tests/smb.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_external/tests/smb.php b/apps/files_external/tests/smb.php
index 0291f293fa6..199e35af676 100644
--- a/apps/files_external/tests/smb.php
+++ b/apps/files_external/tests/smb.php
@@ -29,6 +29,11 @@ class SMB extends Storage {
}
}
+ public function directoryProvider() {
+ // doesn't support leading/trailing spaces
+ return array(array('folder'));
+ }
+
public function testRenameWithSpaces() {
$this->instance->mkdir('with spaces');
$result = $this->instance->rename('with spaces', 'foo bar');