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

hotline #51334 : fix test failure

parent adefbc91
Branches
Tags
6 merge requests!2080Sandbox detach zf from storm,!2061Master,!1984Hotline master,!1981Master,!1980Hotline master,!1977hotline #51334 : add user mail and user barcode in SSO link
Pipeline #162 passed with stage
in 8 minutes and 36 seconds
......@@ -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());
}
......
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