diff options
Diffstat (limited to 'apps/federation/tests/middleware/addservermiddlewaretest.php')
-rw-r--r-- | apps/federation/tests/middleware/addservermiddlewaretest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/federation/tests/middleware/addservermiddlewaretest.php b/apps/federation/tests/middleware/addservermiddlewaretest.php index a94d907ae76..49e34cc73d6 100644 --- a/apps/federation/tests/middleware/addservermiddlewaretest.php +++ b/apps/federation/tests/middleware/addservermiddlewaretest.php @@ -27,6 +27,7 @@ use OC\HintException; use OCA\Federation\Middleware\AddServerMiddleware; use OCP\AppFramework\Controller; use OCP\AppFramework\Http; +use OCP\ILogger; use Test\TestCase; class AddServerMiddlewareTest extends TestCase { @@ -93,7 +94,7 @@ class AddServerMiddlewareTest extends TestCase { public function dataTestAfterException() { return [ [new HintException('message', 'hint'), 'message', 'hint'], - [new \Exception('message'), 'message', 'Unknown error'], + [new \Exception('message'), 'message', 'message'], ]; } |