mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
add a required field to custom fields type
ref Chill-project/Chill-CustomFields#17
This commit is contained in:
@@ -51,7 +51,10 @@ class CustomFieldsGroupControllerTest extends WebTestCase
|
||||
private function editCustomFieldsGroup(Client $client)
|
||||
{
|
||||
$crawler = $client->request('GET', '/fr/admin/customfieldsgroup/');
|
||||
$crawler = $client->click($crawler->selectLink('modifier')->link());
|
||||
$links = $crawler->selectLink('modifier');
|
||||
$crawler = $client->click($links->last()->link());
|
||||
|
||||
$this->assertEquals(200, $client->getResponse()->getStatusCode());
|
||||
|
||||
$form = $crawler->selectButton('Update')->form(array(
|
||||
'custom_fields_group[name][fr]' => 'Foo',
|
||||
|
Reference in New Issue
Block a user