mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 14:24:24 +00:00
Update test to match with new admin route & button name
This commit is contained in:
parent
7a7cb25d7a
commit
b946e2d0a3
@ -101,7 +101,9 @@ class CustomFieldsTextTest extends WebTestCase
|
|||||||
{
|
{
|
||||||
$client = static::createClient();
|
$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();
|
$form = $crawler->selectButton('custom_field_choice_submit')->form();
|
||||||
$this->assertTrue($form->has('custom_field_choice[options][maxLength]'));
|
$this->assertTrue($form->has('custom_field_choice[options][maxLength]'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user