diff --git a/apps/sharebymail/tests/ShareByMailProviderTest.php b/apps/sharebymail/tests/ShareByMailProviderTest.php index 1e5fa46b943ea..4a112f9eac866 100644 --- a/apps/sharebymail/tests/ShareByMailProviderTest.php +++ b/apps/sharebymail/tests/ShareByMailProviderTest.php @@ -1086,11 +1086,11 @@ public function testGetAccessList() { $folder = $rootFolder->getUserFolder($u1->getUID())->newFolder('foo'); $accessList = $provider->getAccessList([$folder], true); - $this->assertArrayHasKey('public', $accessList); - $this->assertFalse($accessList['public']); + $this->assertArrayHasKey('mail', $accessList); + $this->assertFalse($accessList['mail']); $accessList = $provider->getAccessList([$folder], false); - $this->assertArrayHasKey('public', $accessList); - $this->assertFalse($accessList['public']); + $this->assertArrayHasKey('mail', $accessList); + $this->assertFalse($accessList['mail']); $share1 = $this->shareManager->newShare(); $share1->setSharedWith('user@server.com')