From 438497ab5e9e0992ffe723d73f588bc6b24fdfb4 Mon Sep 17 00:00:00 2001 From: pbarroca <pbarroca@afi-sa.fr> Date: Mon, 9 Jan 2017 11:47:29 +0100 Subject: [PATCH] hotline #51334 : fix test failure --- .../opac/controllers/NoticeAjaxControllerCdScriptTest.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/application/modules/opac/controllers/NoticeAjaxControllerCdScriptTest.php b/tests/application/modules/opac/controllers/NoticeAjaxControllerCdScriptTest.php index 65e0b95fcae..9ca4d608a30 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()); } -- GitLab