diff --git a/Tests/Controller/CustomFieldsGroupControllerTest.php b/Tests/Controller/CustomFieldsGroupControllerTest.php index c2150abec..8822aec15 100644 --- a/Tests/Controller/CustomFieldsGroupControllerTest.php +++ b/Tests/Controller/CustomFieldsGroupControllerTest.php @@ -28,6 +28,7 @@ class CustomFieldsGroupControllerTest extends WebTestCase { // Create a new entry in the database $crawler = $client->request('GET', '/fr/admin/customfieldsgroup/'); + $this->assertEquals(200, $client->getResponse()->getStatusCode(), "Unexpected HTTP status code for GET /customfieldsgroup/"); @@ -59,7 +60,7 @@ class CustomFieldsGroupControllerTest extends WebTestCase $this->assertEquals(200, $client->getResponse()->getStatusCode()); - $form = $crawler->selectButton('Update')->form(array( + $form = $crawler->selectButton('Mettre à jour')->form(array( 'custom_fields_group[name][fr]' => 'Foo', ));