diff options
author | Thomas Citharel <tcit@tcit.fr> | 2018-08-05 21:27:15 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2018-08-06 09:30:21 +0200 |
commit | a311798674880ba7d40c0ad1d3ae0d6b42f1d9b4 (patch) | |
tree | e8b7ee61c9425a10d51df76e6a5be683aa70b61d /apps/dav/tests/unit/CardDAV | |
parent | ca54166e352f4e54887dd307bb10cc60308dbc6a (diff) | |
download | nextcloud-server-a311798674880ba7d40c0ad1d3ae0d6b42f1d9b4.tar.gz nextcloud-server-a311798674880ba7d40c0ad1d3ae0d6b42f1d9b4.zip |
Remove users from system addressbook when user deactivated
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/dav/tests/unit/CardDAV')
-rw-r--r-- | apps/dav/tests/unit/CardDAV/SyncServiceTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/tests/unit/CardDAV/SyncServiceTest.php b/apps/dav/tests/unit/CardDAV/SyncServiceTest.php index 1ca27d61ce4..fb8c2775ed2 100644 --- a/apps/dav/tests/unit/CardDAV/SyncServiceTest.php +++ b/apps/dav/tests/unit/CardDAV/SyncServiceTest.php @@ -106,6 +106,7 @@ class SyncServiceTest extends TestCase { $user->method('getUID')->willReturn('test-user'); $user->method('getCloudId')->willReturn('cloudId'); $user->method('getDisplayName')->willReturn('test-user'); + $user->method('isEnabled')->willReturn(true); $accountManager = $this->getMockBuilder(AccountManager::class)->disableOriginalConstructor()->getMock(); $accountManager->expects($this->any())->method('getUser') ->willReturn([ |