X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/ffa4377e65d8ea7342ea669f47a6d538d0c69194..refs/pull/3387/head:/tests/DebugViewTest.php diff --git a/tests/DebugViewTest.php b/tests/DebugViewTest.php index 3485b4598..63d6472b9 100644 --- a/tests/DebugViewTest.php +++ b/tests/DebugViewTest.php @@ -42,13 +42,12 @@ class DebugViewTest extends TestCase $resp->assertSeeText('An unknown error occurred'); } - protected function getDebugViewForException(\Exception $exception): TestResponse { // Fake an error via social auth service used on login page $mockService = $this->mock(SocialAuthService::class); $mockService->shouldReceive('getActiveDrivers')->andThrow($exception); + return $this->get('/login'); } - -} \ No newline at end of file +}