Skip to content
Snippets Groups Projects
Commit 6a72178e authored by Julian Maurice's avatar Julian Maurice
Browse files

dev #13781 Fix test in RenderAlbumTest

parent 4b235cab
Branches
Tags
2 merge requests!258Dev/13872 Orphee Allow Hold Available Items,!244Master
......@@ -186,12 +186,11 @@ class ZendAfi_View_Helper_RenderAlbumNumeriquePremiumTest extends ZendAfi_View_H
ZendAfi_Auth::getInstance()->logUser($logged_user);
$html = $this->_helper->renderAlbum($this->book);
$this->assertXPathContentContains($html,
'//a[@href="http://www.numeriquepremium.com/content/books/9782760622173"]',
utf8_encode('Accéder au document Numérique Premium'));
$this->assertXPath($html,
'//input[@type="hidden"][@name="url"][@value="http://www.numeriquepremium.com/content/books/9782760622173"]');
}
}
?>
\ 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