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:
2026-05-29 14:58:07 +02:00
parent 9060f5dea2
commit b84019fd12
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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();