diff options
Diffstat (limited to 'apps/files_sharing/tests/Controller/ShareAPIControllerTest.php')
-rw-r--r-- | apps/files_sharing/tests/Controller/ShareAPIControllerTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php index 729fe27f69e..a2a6ab59809 100644 --- a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php +++ b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php @@ -1558,7 +1558,7 @@ class ShareAPIControllerTest extends TestCase { ->with($share, $this->currentUser) ->willReturn($canAccessShareByHelper); - $this->serverContainer->method('query') + $this->serverContainer->method('get') ->with('\OCA\Talk\Share\Helper\ShareAPIController') ->willReturn($helper); } @@ -2222,7 +2222,7 @@ class ShareAPIControllerTest extends TestCase { } ); - $this->serverContainer->method('query') + $this->serverContainer->method('get') ->with('\OCA\Talk\Share\Helper\ShareAPIController') ->willReturn($helper); @@ -2340,7 +2340,7 @@ class ShareAPIControllerTest extends TestCase { } ); - $this->serverContainer->method('query') + $this->serverContainer->method('get') ->with('\OCA\Talk\Share\Helper\ShareAPIController') ->willReturn($helper); @@ -4404,7 +4404,7 @@ class ShareAPIControllerTest extends TestCase { ->with($share) ->willReturn($formatShareByHelper); - $this->serverContainer->method('query') + $this->serverContainer->method('get') ->with('\OCA\Talk\Share\Helper\ShareAPIController') ->willReturn($helper); } |