From e8ab298d2c718c0b6e671c127ffa51d840654cda Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Tue, 19 Apr 2022 12:54:28 +0200 Subject: Use email settings in DAV search Signed-off-by: Louis Chemineau --- apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/dav/tests/unit/Connector') diff --git a/apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php b/apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php index d7c074c9e3b..86413e4a366 100644 --- a/apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php @@ -662,6 +662,10 @@ class PrincipalTest extends TestCase { ->method('allowEnumerationFullMatch') ->willReturn(true); + $this->shareManager->expects($this->once()) + ->method('matchEmail') + ->willReturn(true); + $user2 = $this->createMock(IUser::class); $user2->method('getUID')->willReturn('user2'); $user2->method('getDisplayName')->willReturn('User 2'); -- cgit v1.2.3