mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-18 16:24:24 +00:00
fix test 'complete scenario'
The link 'modifier' was changed to 'Modifier'
This commit is contained in:
parent
54391b02f3
commit
cad44ae461
@ -51,7 +51,10 @@ class CustomFieldsGroupControllerTest extends WebTestCase
|
|||||||
private function editCustomFieldsGroup(Client $client)
|
private function editCustomFieldsGroup(Client $client)
|
||||||
{
|
{
|
||||||
$crawler = $client->request('GET', '/fr/admin/customfieldsgroup/');
|
$crawler = $client->request('GET', '/fr/admin/customfieldsgroup/');
|
||||||
$links = $crawler->selectLink('modifier');
|
$links = $crawler->selectLink('Modifier');
|
||||||
|
|
||||||
|
$this->assertGreaterThan(0, $links->count(),
|
||||||
|
"We can't find a 'Modifier' link on the index page");
|
||||||
$crawler = $client->click($links->last()->link());
|
$crawler = $client->click($links->last()->link());
|
||||||
|
|
||||||
$this->assertEquals(200, $client->getResponse()->getStatusCode());
|
$this->assertEquals(200, $client->getResponse()->getStatusCode());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user