From b946e2d0a3514a749071c1deea96418cb662e52c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Sat, 27 Dec 2014 16:10:47 +0100 Subject: [PATCH] Update test to match with new admin route & button name --- Tests/CustomFields/CustomFieldsTextTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tests/CustomFields/CustomFieldsTextTest.php b/Tests/CustomFields/CustomFieldsTextTest.php index 5b2910d38..5181637c2 100644 --- a/Tests/CustomFields/CustomFieldsTextTest.php +++ b/Tests/CustomFields/CustomFieldsTextTest.php @@ -101,7 +101,9 @@ class CustomFieldsTextTest extends WebTestCase { $client = static::createClient(); - $crawler = $client->request('GET', '/admin/customfield/new?type=text'); + $crawler = $client->request('GET', '/fr/admin/customfield/new?type=text'); + + $this->assertTrue($client->getResponse()->isSuccessful()); $form = $crawler->selectButton('custom_field_choice_submit')->form(); $this->assertTrue($form->has('custom_field_choice[options][maxLength]'));