mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
try to fix button in controller issue
This commit is contained in:
@@ -18,7 +18,7 @@ class HouseholdControllerTest extends WebTestCase
|
||||
protected function setUp()
|
||||
{
|
||||
$this->client = $this->getClientAuthenticated();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider generateValidHouseholdIds
|
||||
@@ -49,7 +49,7 @@ class HouseholdControllerTest extends WebTestCase
|
||||
|
||||
$this->assertResponseIsSuccessful();
|
||||
|
||||
$form = $crawler->selectButton('Enregistrer')
|
||||
$form = $crawler->filter('#form_household_comment_confirm')
|
||||
->form();
|
||||
|
||||
$form['household[commentMembers][comment]'] = "This is a text **generated** by automatic tests";
|
||||
@@ -109,8 +109,8 @@ class HouseholdControllerTest extends WebTestCase
|
||||
|
||||
\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'] ];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user