diff options
author | Louis <6653109+artonge@users.noreply.github.com> | 2022-05-04 13:38:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 13:38:03 +0200 |
commit | 7ccfddbe6462840bfabed1f64e04385ed34f66fc (patch) | |
tree | a798c3601d984744864cb1bb73d1336b5d66524f /apps/dav/tests/unit/Connector | |
parent | 8fecf3467f778ff9e7a6ad6ab591a32e005c9546 (diff) | |
parent | e8ab298d2c718c0b6e671c127ffa51d840654cda (diff) | |
download | nextcloud-server-7ccfddbe6462840bfabed1f64e04385ed34f66fc.tar.gz nextcloud-server-7ccfddbe6462840bfabed1f64e04385ed34f66fc.zip |
Merge pull request #31963 from nextcloud/feat/use_setting_in_dav_search
Use share setting in DAV search
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'); |