mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-03 05:55:16 +01:00
Show exceptions that occurs occuring tests.
This commit is contained in:
@@ -79,6 +79,7 @@ abstract class AbstractAdminControllerTest extends WebTestCase
|
||||
'PHP_AUTH_PW' => 'test',
|
||||
]);
|
||||
|
||||
$client->catchExceptions(false);
|
||||
if (false === $read) {
|
||||
$this->expectException(AccessDeniedException::class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user