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/AppFramework/Middleware | |
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/AppFramework/Middleware')
-rw-r--r-- | tests/lib/AppFramework/Middleware/Security/SecurityMiddlewareTest.php | 4 |
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', |