test(api) : adapte les tests de collections existants au standard de pagination (?pagination=false sur les fetchs 'tout-en-un')
This commit is contained in:
@@ -146,7 +146,7 @@ final class RoleApiTest extends AbstractApiTestCase
|
||||
public function testGetCollectionAsAdminReturnsRoles(): void
|
||||
{
|
||||
$client = $this->authenticatedClient('admin', 'admin');
|
||||
$response = $client->request('GET', '/api/roles');
|
||||
$response = $client->request('GET', '/api/roles?pagination=false');
|
||||
|
||||
self::assertResponseIsSuccessful();
|
||||
$data = $response->toArray();
|
||||
|
||||
Reference in New Issue
Block a user