diff options
author | Joas Schilling <coding@schilljs.com> | 2021-06-04 10:57:09 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-06-04 10:57:09 +0200 |
commit | 181aab416a5f3032034273b5eaa2eb6654982482 (patch) | |
tree | 11e6655a4921282cebe9dbab8c3991e9992182ae /tests/lib/Collaboration | |
parent | 46dbc8fa988176e4a431cafcbae6674fb613c899 (diff) | |
download | nextcloud-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.php | 4 |
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); |