summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-12-09 13:19:14 +0100
committerJulius Härtl <jus@bitgrid.net>2020-12-09 15:51:41 +0100
commitc4ea37b8a102adec16cf13085dba2fd7ef893195 (patch)
treea0b23e125a6e952ae1568a81bdd7b0d794f8443d /apps/files_sharing/tests
parent676d2b7a947754f4c42405b513658a5f6663673c (diff)
downloadnextcloud-server-c4ea37b8a102adec16cf13085dba2fd7ef893195.tar.gz
nextcloud-server-c4ea37b8a102adec16cf13085dba2fd7ef893195.zip
Address minor comments
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r--apps/files_sharing/tests/Controller/ShareAPIControllerTest.php8
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);
}