diff --git a/tests/application/modules/opac/controllers/AbonneControllerMultimediaTest.php b/tests/application/modules/opac/controllers/AbonneControllerMultimediaTest.php index 001c9d7266621fd6c9bf8b7e50d6e494ba5adf20..60e2f57f558bf635f90d7856ac1332ebe9f640f3 100644 --- a/tests/application/modules/opac/controllers/AbonneControllerMultimediaTest.php +++ b/tests/application/modules/opac/controllers/AbonneControllerMultimediaTest.php @@ -11,7 +11,7 @@ * * BOKEH is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU AFFERO GENERAL PUBLIC LICENSE for more details. * * You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE @@ -233,8 +233,8 @@ abstract class AbonneControllerMultimediaAuthenticateValidTestCase extends Abonn protected function _launch() { $this->_json = $this->getJson(sprintf('/abonne/authenticate/login/%s/password/%s/poste/1/site/1', - $this->_user->getLogin(), - $this->_user->getPassword())); + $this->_user->getLogin(), + $this->_user->getPassword())); } @@ -294,7 +294,7 @@ class AbonneControllerMultimediaAuthenticateLaurentTest extends AbonneController /** @test */ public function groupShoudBeAdulteAbonneAdminAndAgile() { $this->assertEquals(array('adulte','abonne', 'abonne_sigb', 'Devs agiles'), - $this->_json->groupes); + $this->_json->groupes); } @@ -407,6 +407,7 @@ class AbonneControllerMultimediaAuthenticateLaurentDeviceNotHeldByUserTest exten ->whenCalled('findByIdOrigine') ->answers($location = Class_Multimedia_Location::newInstanceWithId(1) ->setAuthDelay(1) + ->setAutoholdForClosingDays(0) ->setAutohold(1)); $this->onLoaderOfModel('Class_Multimedia_Device') @@ -565,6 +566,7 @@ abstract class AbonneControllerMultimediaHoldTestCase extends AbstractController ->setLibelle('Antibes') ->setSlotSize(30) ->setMaxSlots(4) + ->setAutoholdForClosingDays(0) ->setHoldDelayMin(0) ->setHoldDelayMax(60) ->setOuvertures([Class_Ouverture::chaqueLundi('08:30', '12:00', '12:00', '17:45')->setId(1)->cache(), @@ -630,7 +632,7 @@ abstract class AbonneControllerMultimediaHoldTestCase extends AbstractController protected function _assertTimeLineStepWithClass($step, $class) { $this->assertXPathContentContains('//div[@class="timeline"]//li[@class="' . $class . '"]', - $step); + $step); } }