diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-01-05 18:25:31 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-01-05 18:28:07 +0100 |
commit | 574c6770d18f74c26ec3b72075a52333e6495a7a (patch) | |
tree | 28f0c760c0664062c2fb34becdaab7b36fea48c2 /apps/dav/tests/unit/DAV/GroupPrincipalTest.php | |
parent | adef2b85c8c8f771d694dedec2c8509694aee149 (diff) | |
download | nextcloud-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.php | 2 |
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']); |