try to fix button in controller issue

This commit is contained in:
2021-09-29 17:21:50 +02:00
parent 62d3bf8742
commit 6430de94a7
2 changed files with 6 additions and 6 deletions

View File

@@ -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'] ];
}
}