summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-08-13 14:00:44 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-13 14:02:09 +0200
commit9daf41e05a6e78a112aa6d5b0a8b20289c3c0a61 (patch)
tree18f6190e10ed5480bd3f3a0c08be84825abe6f9e /apps/files_sharing/tests
parent4da01eeef642ebd48c9c8974e17e08db3de70687 (diff)
downloadnextcloud-server-9daf41e05a6e78a112aa6d5b0a8b20289c3c0a61.tar.gz
nextcloud-server-9daf41e05a6e78a112aa6d5b0a8b20289c3c0a61.zip
Add files drop capability for clients
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r--apps/files_sharing/tests/CapabilitiesTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/tests/CapabilitiesTest.php b/apps/files_sharing/tests/CapabilitiesTest.php
index 0c4a68b997c..254f7cdaa7c 100644
--- a/apps/files_sharing/tests/CapabilitiesTest.php
+++ b/apps/files_sharing/tests/CapabilitiesTest.php
@@ -232,6 +232,7 @@ class CapabilitiesTest extends \Test\TestCase {
];
$result = $this->getResults($map);
$this->assertTrue($result['public']['upload']);
+ $this->assertTrue($result['public']['upload_files_drop']);
}
public function testLinkNoPublicUpload() {
@@ -242,6 +243,7 @@ class CapabilitiesTest extends \Test\TestCase {
];
$result = $this->getResults($map);
$this->assertFalse($result['public']['upload']);
+ $this->assertFalse($result['public']['upload_files_drop']);
}
public function testNoGroupSharing() {