Skip to content
Snippets Groups Projects
Commit b5b4c60c authored by gloas's avatar gloas
Browse files

hotline #12675 fix failure

parent 294dc48b
Branches
Tags
2 merge requests!258Dev/13872 Orphee Allow Hold Available Items,!13Hotline#12675 Biblio Items Params Bug
......@@ -96,7 +96,7 @@ class PretsTestWithConnectedUser extends ViewHelperTestCase {
/** @test */
public function titleAliceShouldBeLinkedToNotice () {
$this->assertXPath($this->html,'//ul//li//a[contains(@href,"/recherche/viewnotice/clef//id/1234")]',$this->html);
$this->assertXPath($this->html,'//ul//li//a[contains(@href,"/recherche/viewnotice/id/1234")]',$this->html);
}
......
......@@ -80,7 +80,7 @@ class ReservationsTestWithConnectedUser extends ViewHelperTestCase {
/** @test */
public function titlePropagandaShouldBeLinkedToNotice () {
$this->assertXPath($this->html,'//ul//li//a[contains(@href,"/recherche/viewnotice/clef//id/1234")]',$this->html);
$this->assertXPath($this->html,'//ul//li//a[contains(@href,"/recherche/viewnotice/id/1234")]',$this->html);
}
......
......@@ -68,7 +68,7 @@ class ZendAfi_View_Helper_Notice_MurForNoticeTest extends ZendAfi_View_Helper_No
/** @test */
public function divShouldContainsTitreHarryPotter() {
$this->assertXPathContentContains($this->_html,
'//div//a[contains(@href, "viewnotice/clef")]',
'//div//a[contains(@href, "/viewnotice")]',
'Harry Potter');
}
......
......@@ -34,7 +34,7 @@ class ZendAfi_View_Helper_UrlNoticeTest extends PHPUnit_Framework_TestCase {
/** @test */
public function urlShouldBeReset() {
$this->assertEquals(BASE_URL.'/recherche/viewnotice/clef/BULLETINYOURHEADRATM/id/12', $this->_html);
$this->assertContains('/recherche/viewnotice/clef/BULLETINYOURHEADRATM/id/12', $this->_html);
}
}
?>
\ No newline at end of file
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