2828
2929#[Group("slow " )]
3030#[Group("DB " )]
31- class BatchEdaControllerTest extends WebTestCase
31+ final class BatchEdaControllerTest extends WebTestCase
3232{
3333 private function loginAsUser ($ client , string $ username ): void
3434 {
@@ -48,8 +48,8 @@ public function testBatchEdaPageLoads(): void
4848 $ client = static ::createClient ();
4949 $ this ->loginAsUser ($ client , 'admin ' );
5050
51- // Request with part IDs in session — the page expects ids[] query param
52- $ client ->request ('GET ' , '/en/tools/batch_eda_edit ' , ['ids ' => [ 1 , 2 , 3 ] ]);
51+ // Request with part IDs as comma-separated string (controller uses getString)
52+ $ client ->request ('GET ' , '/en/tools/batch_eda_edit ' , ['ids ' => ' 1,2,3 ' ]);
5353
5454 self ::assertResponseIsSuccessful ();
5555 }
@@ -71,7 +71,7 @@ public function testBatchEdaFormSubmission(): void
7171 $ this ->loginAsUser ($ client , 'admin ' );
7272
7373 // Load the form page first
74- $ crawler = $ client ->request ('GET ' , '/en/tools/batch_eda_edit ' , ['ids ' => [ 1 , 2 ] ]);
74+ $ crawler = $ client ->request ('GET ' , '/en/tools/batch_eda_edit ' , ['ids ' => ' 1,2 ' ]);
7575
7676 self ::assertResponseIsSuccessful ();
7777
0 commit comments