summaryrefslogtreecommitdiffstats
path: root/tests/lib/Collaboration
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-06-04 10:57:09 +0200
committerJoas Schilling <coding@schilljs.com>2021-06-04 10:57:09 +0200
commit181aab416a5f3032034273b5eaa2eb6654982482 (patch)
tree11e6655a4921282cebe9dbab8c3991e9992182ae /tests/lib/Collaboration
parent46dbc8fa988176e4a431cafcbae6674fb613c899 (diff)
downloadnextcloud-server-181aab416a5f3032034273b5eaa2eb6654982482.tar.gz
nextcloud-server-181aab416a5f3032034273b5eaa2eb6654982482.zip
Fix warnings about logException
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib/Collaboration')
-rw-r--r--tests/lib/Collaboration/Resources/ProviderManagerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Collaboration/Resources/ProviderManagerTest.php b/tests/lib/Collaboration/Resources/ProviderManagerTest.php
index 19a34962a56..01e45de9fdf 100644
--- a/tests/lib/Collaboration/Resources/ProviderManagerTest.php
+++ b/tests/lib/Collaboration/Resources/ProviderManagerTest.php
@@ -82,7 +82,7 @@ class ProviderManagerTest extends TestCase {
->willThrowException(new QueryException('A meaningful error message'));
$this->logger->expects($this->once())
- ->method('logException');
+ ->method('error');
$this->providerManager->registerResourceProvider('InvalidResourceProvider');
$resourceProviders = $this->providerManager->getResourceProviders();
@@ -101,7 +101,7 @@ class ProviderManagerTest extends TestCase {
->willReturn($this->createMock(ResourceProvider::class));
$this->logger->expects($this->once())
- ->method('logException');
+ ->method('error');
$this->providerManager->registerResourceProvider('InvalidResourceProvider');
$this->providerManager->registerResourceProvider(ResourceProvider::class);