diff --git a/tests/application/modules/opac/controllers/NoticeAjaxControllerCdScriptTest.php b/tests/application/modules/opac/controllers/NoticeAjaxControllerCdScriptTest.php index 65e0b95fcaec3c873d881f43de3cc11c1087e61c..9ca4d608a3084d2e18a1a0404ed06801ee381e5e 100644 --- a/tests/application/modules/opac/controllers/NoticeAjaxControllerCdScriptTest.php +++ b/tests/application/modules/opac/controllers/NoticeAjaxControllerCdScriptTest.php @@ -38,6 +38,7 @@ class NoticeAjaxControllerCdScriptRecordTest extends AbstractControllerTestCase 'nom' => 'Le Pollux', 'prenom' => 'Paul', 'id_sigb' => '654987', + 'idabon' => '23901000323008', 'mail' => 'anemail@web.com', 'naissance' => '2002-12-14', 'password' => 'pollux', @@ -84,7 +85,9 @@ class NoticeAjaxControllerCdScriptRecordTest extends AbstractControllerTestCase /** @test */ public function linkToJumelShouldBePresent() { - $this->assertXPathContentContains('//table//a[contains(@href, "www.jumel39.fr/docnum.php?bib=2&res=kio&lien=456789&time=1446019200&user=654987:Le Pollux:Paul:2002-12-14::2015-12-14")]', 'Description en ligne', $this->_response->getBody()); + $this->assertXPathContentContains('//table//a[contains(@href, "www.jumel39.fr/docnum.php?bib=2&res=kio&lien=456789&time=1446019200&user=23901000323008:Le Pollux:Paul:2002-12-14:anemail@web.com:2015-12-14")]', + 'Description en ligne', + $this->_response->getBody()); }