summaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Middleware
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/Middleware
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/Middleware')
-rw-r--r--tests/lib/AppFramework/Middleware/Security/SecurityMiddlewareTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/AppFramework/Middleware/Security/SecurityMiddlewareTest.php b/tests/lib/AppFramework/Middleware/Security/SecurityMiddlewareTest.php
index 076f6588d94..8f55f90d377 100644
--- a/tests/lib/AppFramework/Middleware/Security/SecurityMiddlewareTest.php
+++ b/tests/lib/AppFramework/Middleware/Security/SecurityMiddlewareTest.php
@@ -506,7 +506,7 @@ class SecurityMiddlewareTest extends \Test\TestCase {
->willReturn('http://localhost/nextcloud/index.php/login?redirect_url=nextcloud/index.php/apps/specialapp');
$this->logger
->expects($this->once())
- ->method('logException');
+ ->method('debug');
$response = $this->middleware->afterException(
$this->controller,
'test',
@@ -576,7 +576,7 @@ class SecurityMiddlewareTest extends \Test\TestCase {
$this->middleware = $this->getMiddleware(false, false, false);
$this->logger
->expects($this->once())
- ->method('logException');
+ ->method('debug');
$response = $this->middleware->afterException(
$this->controller,
'test',