mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 18:43:49 +00:00
fix tests
some classes have changed, fix it
This commit is contained in:
@@ -161,7 +161,7 @@ class AccompanyingPeriodControllerTest extends WebTestCase
|
||||
$crawler = $this->client->request('GET', '/en/person/'
|
||||
.$this->person->getId().'/accompanying-period/close');
|
||||
|
||||
$form = $crawler->selectButton('Submit')->form();
|
||||
$form = $crawler->selectButton('Close accompanying period')->form();
|
||||
|
||||
$form->get(self::CLOSING_MOTIVE_INPUT)
|
||||
->setValue($this->getLastValueOnClosingMotive($form));
|
||||
@@ -195,7 +195,7 @@ class AccompanyingPeriodControllerTest extends WebTestCase
|
||||
$crawler = $this->client->request('GET', '/en/person/'
|
||||
.$this->person->getId().'/accompanying-period/close');
|
||||
|
||||
$form = $crawler->selectButton('Submit')->form();
|
||||
$form = $crawler->selectButton('Close accompanying period')->form();
|
||||
|
||||
$form->get(self::CLOSING_MOTIVE_INPUT)
|
||||
->setValue($this->getLastValueOnClosingMotive($form));
|
||||
@@ -226,7 +226,7 @@ class AccompanyingPeriodControllerTest extends WebTestCase
|
||||
$crawler = $this->client->request('GET', '/en/person/'
|
||||
.$this->person->getId().'/accompanying-period/create');
|
||||
|
||||
$form = $crawler->selectButton('Submit')->form();
|
||||
$form = $crawler->selectButton('Create an accompanying period')->form();
|
||||
$form->get(self::CLOSING_MOTIVE_INPUT)
|
||||
->setValue($this->getLastValueOnClosingMotive($form));
|
||||
$form->get(self::CLOSING_INPUT)
|
||||
@@ -260,7 +260,7 @@ class AccompanyingPeriodControllerTest extends WebTestCase
|
||||
$crawler = $this->client->request('GET', '/en/person/'
|
||||
.$this->person->getId().'/accompanying-period/create');
|
||||
|
||||
$form = $crawler->selectButton('Submit')->form();
|
||||
$form = $crawler->selectButton('Create an accompanying period')->form();
|
||||
$form->get(self::CLOSING_MOTIVE_INPUT)
|
||||
->setValue($this->getLastValueOnClosingMotive($form));
|
||||
$form->get(self::CLOSING_INPUT)
|
||||
@@ -292,7 +292,7 @@ class AccompanyingPeriodControllerTest extends WebTestCase
|
||||
$crawler = $this->client->request('GET', '/en/person/'
|
||||
.$this->person->getId().'/accompanying-period/create');
|
||||
|
||||
$form = $crawler->selectButton('Submit')->form();
|
||||
$form = $crawler->selectButton('Create an accompanying period')->form();
|
||||
$form->get(self::CLOSING_MOTIVE_INPUT)
|
||||
->setValue($this->getLastValueOnClosingMotive($form));
|
||||
$form->get(self::CLOSING_INPUT)
|
||||
@@ -333,7 +333,7 @@ class AccompanyingPeriodControllerTest extends WebTestCase
|
||||
$crawler = $this->client->request('GET', '/en/person/'
|
||||
.$this->person->getId().'/accompanying-period/create');
|
||||
|
||||
$form = $crawler->selectButton('Submit')->form();;
|
||||
$form = $crawler->selectButton('Create an accompanying period')->form();;
|
||||
$form->get(self::CLOSING_MOTIVE_INPUT)
|
||||
->setValue($this->getLastValueOnClosingMotive($form));
|
||||
$form->get(self::CLOSING_INPUT)
|
||||
@@ -364,7 +364,7 @@ class AccompanyingPeriodControllerTest extends WebTestCase
|
||||
$crawler = $this->client->request('GET', '/en/person/'
|
||||
.$this->person->getId().'/accompanying-period/create');
|
||||
|
||||
$form = $crawler->selectButton('Submit')->form();
|
||||
$form = $crawler->selectButton('Create an accompanying period')->form();
|
||||
$form->get(self::CLOSING_MOTIVE_INPUT)
|
||||
->setValue($this->getLastValueOnClosingMotive($form));
|
||||
$form->get(self::CLOSING_INPUT)
|
||||
@@ -406,7 +406,7 @@ class AccompanyingPeriodControllerTest extends WebTestCase
|
||||
$crawler = $this->client->request('GET', '/en/person/'
|
||||
.$this->person->getId().'/accompanying-period/create');
|
||||
|
||||
$form = $crawler->selectButton('Submit')->form();
|
||||
$form = $crawler->selectButton('Create an accompanying period')->form();
|
||||
$form->get(self::CLOSING_MOTIVE_INPUT)
|
||||
->setValue($this->getLastValueOnClosingMotive($form));
|
||||
$form->get(self::CLOSING_INPUT)
|
||||
@@ -447,7 +447,7 @@ class AccompanyingPeriodControllerTest extends WebTestCase
|
||||
$crawler = $this->client->request('GET', '/en/person/'
|
||||
.$this->person->getId().'/accompanying-period/create');
|
||||
|
||||
$form = $crawler->selectButton('Submit')->form();
|
||||
$form = $crawler->selectButton('Create an accompanying period')->form();
|
||||
$form->get(self::CLOSING_MOTIVE_INPUT)
|
||||
->setValue($this->getLastValueOnClosingMotive($form));
|
||||
$form->get(self::CLOSING_INPUT)
|
||||
|
Reference in New Issue
Block a user