mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 02:53:50 +00:00
fix tests
some classes have changed, fix it
This commit is contained in:
@@ -126,7 +126,7 @@ class PersonAddressControllerTest extends WebTestCase
|
||||
$this->assertTrue($this->client->getResponse()->isSuccessful());
|
||||
|
||||
// get the form and populate the most obvious fields (postcode will come later)
|
||||
$form = $crawler->selectButton('Envoi')->form(array(
|
||||
$form = $crawler->filter('.bt-create')->form(array(
|
||||
'address[streetAddress1]' => 'Rue de la Paix, 50',
|
||||
'address[streetAddress2]' => $this->postalCode->getId(),
|
||||
'address[validFrom]' => '15-01-2016'
|
||||
@@ -167,7 +167,7 @@ class PersonAddressControllerTest extends WebTestCase
|
||||
|
||||
$this->assertTrue($this->client->getResponse()->isSuccessful());
|
||||
|
||||
$form = $crawler->selectButton('Envoi')->form(array(
|
||||
$form = $crawler->filter('.bt-save')->form(array(
|
||||
'address[streetAddress1]' => 'Rue du Trou Normand, 15',
|
||||
'address[validFrom]' => '15-01-2015'
|
||||
));
|
||||
|
Reference in New Issue
Block a user