mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-08 17:34:32 +02:00
Show exceptions that occurs occuring tests.
This commit is contained in:
parent
3866082cb7
commit
445a3ddff6
3 changed files with 4 additions and 0 deletions
|
@ -79,6 +79,7 @@ abstract class AbstractAdminControllerTest extends WebTestCase
|
|||
'PHP_AUTH_PW' => 'test',
|
||||
]);
|
||||
|
||||
$client->catchExceptions(false);
|
||||
if (false === $read) {
|
||||
$this->expectException(AccessDeniedException::class);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue