summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/DAV/GroupPrincipalTest.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-05 18:25:31 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-01-05 18:28:07 +0100
commit574c6770d18f74c26ec3b72075a52333e6495a7a (patch)
tree28f0c760c0664062c2fb34becdaab7b36fea48c2 /apps/dav/tests/unit/DAV/GroupPrincipalTest.php
parentadef2b85c8c8f771d694dedec2c8509694aee149 (diff)
downloadnextcloud-server-574c6770d18f74c26ec3b72075a52333e6495a7a.tar.gz
nextcloud-server-574c6770d18f74c26ec3b72075a52333e6495a7a.zip
Get rid of deprecated at matcher in dav application tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/dav/tests/unit/DAV/GroupPrincipalTest.php')
-rw-r--r--apps/dav/tests/unit/DAV/GroupPrincipalTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/DAV/GroupPrincipalTest.php b/apps/dav/tests/unit/DAV/GroupPrincipalTest.php
index 8f86961a6af..5520bbe5784 100644
--- a/apps/dav/tests/unit/DAV/GroupPrincipalTest.php
+++ b/apps/dav/tests/unit/DAV/GroupPrincipalTest.php
@@ -329,7 +329,7 @@ class GroupPrincipalTest extends \Test\TestCase {
->method('getUser')
->willReturn($user);
- $this->groupManager->expects($this->at(0))
+ $this->groupManager->expects($this->once())
->method('getUserGroupIds')
->with($user)
->willReturn(['group1', 'group2', 'group5']);