aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Bootstrap/RegistrationContextTest.php
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/AppFramework/Bootstrap/RegistrationContextTest.php
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/AppFramework/Bootstrap/RegistrationContextTest.php')
-rw-r--r--tests/lib/AppFramework/Bootstrap/RegistrationContextTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/lib/AppFramework/Bootstrap/RegistrationContextTest.php b/tests/lib/AppFramework/Bootstrap/RegistrationContextTest.php
index f97ac92e887..067e9a09673 100644
--- a/tests/lib/AppFramework/Bootstrap/RegistrationContextTest.php
+++ b/tests/lib/AppFramework/Bootstrap/RegistrationContextTest.php
@@ -61,7 +61,7 @@ class RegistrationContextTest extends TestCase {
->method('registerCapability')
->with($name);
$this->logger->expects($this->never())
- ->method('logException');
+ ->method('error');
$this->context->for('myapp')->registerCapability($name);
$this->context->delegateCapabilityRegistrations([
@@ -77,7 +77,7 @@ class RegistrationContextTest extends TestCase {
->method('addServiceListener')
->with($event, $service, 0);
$this->logger->expects($this->never())
- ->method('logException');
+ ->method('error');
$this->context->for('myapp')->registerEventListener($event, $service);
$this->context->delegateEventListenerRegistrations($dispatcher);
@@ -99,7 +99,7 @@ class RegistrationContextTest extends TestCase {
->method('registerService')
->with($service, $factory, $shared);
$this->logger->expects($this->never())
- ->method('logException');
+ ->method('error');
$this->context->for('myapp')->registerService($service, $factory, $shared);
$this->context->delegateContainerRegistrations([
@@ -118,7 +118,7 @@ class RegistrationContextTest extends TestCase {
->method('registerAlias')
->with($alias, $target);
$this->logger->expects($this->never())
- ->method('logException');
+ ->method('error');
$this->context->for('myapp')->registerServiceAlias($alias, $target);
$this->context->delegateContainerRegistrations([
@@ -137,7 +137,7 @@ class RegistrationContextTest extends TestCase {
->method('registerParameter')
->with($name, $value);
$this->logger->expects($this->never())
- ->method('logException');
+ ->method('error');
$this->context->for('myapp')->registerParameter($name, $value);
$this->context->delegateContainerRegistrations([
@@ -155,7 +155,7 @@ class RegistrationContextTest extends TestCase {
->method('registerMiddleware')
->with($name);
$this->logger->expects($this->never())
- ->method('logException');
+ ->method('error');
$this->context->for('myapp')->registerMiddleware($name);
$this->context->delegateMiddlewareRegistrations([