diff options
author | Vincent Petry <pvince81@owncloud.com> | 2013-11-22 18:36:27 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2013-11-22 18:36:27 +0100 |
commit | 2d947835b94362982c98caba68aa1073ab466249 (patch) | |
tree | 5ebcbeb5bd6b86799d8fb12f39242912bd1c1789 /apps/files_external/tests | |
parent | 476d8e6de073a095dda012079e7a6697e481c3c3 (diff) | |
download | nextcloud-server-2d947835b94362982c98caba68aa1073ab466249.tar.gz nextcloud-server-2d947835b94362982c98caba68aa1073ab466249.zip |
Now also preventing the user of "Shared" as mountpoint
Diffstat (limited to 'apps/files_external/tests')
-rw-r--r-- | apps/files_external/tests/mountconfig.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/tests/mountconfig.php b/apps/files_external/tests/mountconfig.php index 77241c4dd2a..941aec680bb 100644 --- a/apps/files_external/tests/mountconfig.php +++ b/apps/files_external/tests/mountconfig.php @@ -44,6 +44,8 @@ class Test_Mount_Config extends \PHPUnit_Framework_TestCase { $isPersonal = false; $this->assertEquals(false, OC_Mount_Config::addMountPoint('', $storageClass, array(), $mountType, $applicable, $isPersonal)); $this->assertEquals(false, OC_Mount_Config::addMountPoint('/', $storageClass, array(), $mountType, $applicable, $isPersonal)); + $this->assertEquals(false, OC_Mount_Config::addMountPoint('Shared', $storageClass, array(), $mountType, $applicable, $isPersonal)); + $this->assertEquals(false, OC_Mount_Config::addMountPoint('/Shared', $storageClass, array(), $mountType, $applicable, $isPersonal)); } } |