The button seems to be translated
This commit is contained in:
Julien Fastré 2016-12-19 10:02:28 +01:00
parent c58d101ade
commit 8cda910918

View File

@ -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',
));