diff options
author | Louis Chemineau <louis@chmn.me> | 2022-04-19 12:54:28 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-04-19 16:23:08 +0200 |
commit | e8ab298d2c718c0b6e671c127ffa51d840654cda (patch) | |
tree | 87cd45ef68b640cd5e5555aa6a9b6b99ebdab7ae /apps/dav/tests/unit/Connector | |
parent | 70c56b411ee3eb20ebc206aa5cbf04254343f03f (diff) | |
download | nextcloud-server-e8ab298d2c718c0b6e671c127ffa51d840654cda.tar.gz nextcloud-server-e8ab298d2c718c0b6e671c127ffa51d840654cda.zip |
Use email settings in DAV search
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/dav/tests/unit/Connector')
-rw-r--r-- | apps/dav/tests/unit/Connector/Sabre/PrincipalTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
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'); |