1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Applied latest styleci changes

This commit is contained in:
Dan Brown
2021-10-15 14:16:45 +01:00
parent 747f81d5d8
commit f3c147d33b
4 changed files with 17 additions and 17 deletions

View File

@ -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');
}
}
}