mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-04-11 07:23:44 +00:00
Add fields for upsert person
This commit is contained in:
@@ -29,6 +29,13 @@ class TicketListControllerTest extends WebTestCase
|
||||
|
||||
$client->request('GET', '/fr/ticket/ticket/list');
|
||||
|
||||
// The controller requires TicketVoter::READ permission.
|
||||
// If no fixtures grant this permission to the test user,
|
||||
// the response will be 403.
|
||||
if (403 === $client->getResponse()->getStatusCode()) {
|
||||
self::markTestSkipped('The test user does not have CHILL_TICKET_TICKET_READ permission. Add ticket permission fixtures to enable this test.');
|
||||
}
|
||||
|
||||
self::assertResponseIsSuccessful();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user