Skip to content
Snippets Groups Projects
Commit c7785251 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

rel #31316: fix test failures

parent cc33cf9a
Branches
Tags
3 merge requests!1267Master,!1250Stable,!1234Hotline#31316 affichage du titre dans les prets en cours du compte lecteur
......@@ -699,7 +699,7 @@ class Telephone_RechercheControllerHarryPotterReservationWithPopupTest extends T
Class_CommSigb::setInstance(Storm_Test_ObjectWrapper::mock()
->whenCalled('reserverExemplaire')
->answers(array('popup' => 'http://url.de/la-popup')));
->answers(['popup' => 'http://url.de/la-popup']));
Class_Exemplaire::getLoader()
->newInstanceWithId(33)
......@@ -710,6 +710,12 @@ class Telephone_RechercheControllerHarryPotterReservationWithPopupTest extends T
}
public function tearDown() {
Class_CommSigb::setInstance(null);
parent::tearDown();
}
/** @test */
public function pageShouldContainsErrorMessage() {
$this->assertXPathContentContains('//div', 'non supportée');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment