mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
try to fix button in controller issue
This commit is contained in:
parent
62d3bf8742
commit
6430de94a7
@ -94,7 +94,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<ul class="record_actions">
|
<ul class="record_actions">
|
||||||
<li>
|
<li>
|
||||||
<button type="submit" class="btn btn-save">
|
<button type="submit" class="btn btn-save" id="form_household_comment_confirm">
|
||||||
{{ 'Save'|trans }}
|
{{ 'Save'|trans }}
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
|
@ -18,7 +18,7 @@ class HouseholdControllerTest extends WebTestCase
|
|||||||
protected function setUp()
|
protected function setUp()
|
||||||
{
|
{
|
||||||
$this->client = $this->getClientAuthenticated();
|
$this->client = $this->getClientAuthenticated();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dataProvider generateValidHouseholdIds
|
* @dataProvider generateValidHouseholdIds
|
||||||
@ -49,7 +49,7 @@ class HouseholdControllerTest extends WebTestCase
|
|||||||
|
|
||||||
$this->assertResponseIsSuccessful();
|
$this->assertResponseIsSuccessful();
|
||||||
|
|
||||||
$form = $crawler->selectButton('Enregistrer')
|
$form = $crawler->filter('#form_household_comment_confirm')
|
||||||
->form();
|
->form();
|
||||||
|
|
||||||
$form['household[commentMembers][comment]'] = "This is a text **generated** by automatic tests";
|
$form['household[commentMembers][comment]'] = "This is a text **generated** by automatic tests";
|
||||||
@ -109,8 +109,8 @@ class HouseholdControllerTest extends WebTestCase
|
|||||||
|
|
||||||
\shuffle($ids);
|
\shuffle($ids);
|
||||||
|
|
||||||
yield [ \array_pop($ids)['id'] ];
|
yield [ \array_pop($ids)['id'] ];
|
||||||
yield [ \array_pop($ids)['id'] ];
|
yield [ \array_pop($ids)['id'] ];
|
||||||
yield [ \array_pop($ids)['id'] ];
|
yield [ \array_pop($ids)['id'] ];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user