mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
fix test
The button seems to be translated
This commit is contained in:
parent
c58d101ade
commit
8cda910918
@ -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',
|
||||
));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user