Moved export listing functionality from ExportController to a new ExportIndexController

for improved separation of concerns. Updated tests accordingly to reflect the new controller structure.
This commit is contained in:
2025-04-01 13:20:48 +02:00
parent 1375a41de2
commit 80d8f967fa
3 changed files with 39 additions and 17 deletions

View File

@@ -21,13 +21,13 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
*
* @coversNothing
*/
final class ExportControllerTest extends WebTestCase
final class ExportIndexControllerTest extends WebTestCase
{
use PrepareClientTrait;
public function testIndex()
{
$client = $this->getClientAuthenticatedAsAdmin();
$client = $this->getClientAuthenticated();
$client->request('GET', '/fr/exports/');