summaryrefslogtreecommitdiffstats
path: root/tests/lib/Share20
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-01-04 08:59:43 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-04-13 12:58:50 +0200
commit12afd7d1d5bc2a85d04815964bf7fb37e77466d6 (patch)
tree11cd311669ab0b2895e3d471bcf974e3f287e31d /tests/lib/Share20
parent2cbac3357ba445a3a4cd073e119efb871ea0f719 (diff)
downloadnextcloud-server-12afd7d1d5bc2a85d04815964bf7fb37e77466d6.tar.gz
nextcloud-server-12afd7d1d5bc2a85d04815964bf7fb37e77466d6.zip
Add mail element to access list
* Each provider just returns what they have so adding an element won't require changing everything * Added tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib/Share20')
-rw-r--r--tests/lib/Share20/DefaultShareProviderTest.php2
-rw-r--r--tests/lib/Share20/ManagerTest.php2
2 files changed, 0 insertions, 4 deletions
diff --git a/tests/lib/Share20/DefaultShareProviderTest.php b/tests/lib/Share20/DefaultShareProviderTest.php
index ccc9f0f5112..a7f5555efaf 100644
--- a/tests/lib/Share20/DefaultShareProviderTest.php
+++ b/tests/lib/Share20/DefaultShareProviderTest.php
@@ -2508,7 +2508,6 @@ class DefaultShareProviderTest extends \Test\TestCase {
$this->assertContains('testShare4', $result['users']);
$this->assertContains('testShare5', $result['users']);
$this->assertTrue($result['public']);
- $this->assertFalse($result['remote']);
$provider->delete($share1);
$provider->delete($share2);
@@ -2595,7 +2594,6 @@ class DefaultShareProviderTest extends \Test\TestCase {
$this->assertContains('testShare3', $result['users']);
$this->assertContains('testShare5', $result['users']);
$this->assertTrue($result['public']);
- $this->assertFalse($result['remote']);
$provider->delete($share1);
$provider->delete($share2);
diff --git a/tests/lib/Share20/ManagerTest.php b/tests/lib/Share20/ManagerTest.php
index ab42cb4813b..c1a0eaf5bb8 100644
--- a/tests/lib/Share20/ManagerTest.php
+++ b/tests/lib/Share20/ManagerTest.php
@@ -2804,7 +2804,6 @@ class ManagerTest extends \Test\TestCase {
'user2',
'user3',
],
- 'remote' => false,
'public' => true,
]);
@@ -2820,7 +2819,6 @@ class ManagerTest extends \Test\TestCase {
'user5',
],
'remote' => true,
- 'public' => false,
]);
$this->rootFolder->method('getUserFolder')