Skip to content
Snippets Groups Projects
Commit 8ac5156e authored by Laurent's avatar Laurent
Browse files

hotline #60174 test fix

parent c45a6da9
Branches
Tags
4 merge requests!2334Master,!2269Master,!2268Hotline master,!2265hotline #60174: fix infinite loop in ChoixPictogramme + refactoring
Pipeline #2156 passed with stage
in 12 minutes and 15 seconds
......@@ -21,16 +21,15 @@
class ZendAfi_View_Helper_Admin_ChoixPictogrammeTest extends ViewHelperTestCase {
protected
$_storm_default_to_volatile = true,
$_profil;
$_storm_default_to_volatile = true;
public function setUp() {
parent::setUp();
$this->_profil = $this->fixture('Class_Profil',
['id' => 1,
'libelle' => 'Main',
'skin' => 'modele']);
$this->_profil->beCurrentProfil();
['id' => 234,
'libelle' => 'Main',
'skin' => 'original'])
->beCurrentProfil();
}
......@@ -44,7 +43,7 @@ class ZendAfi_View_Helper_Admin_ChoixPictogrammeTest extends ViewHelperTestCase
/** @test */
public function typeMenuShouldContainsIconsInImagesMenuFolder() {
$this->assertXPath($html = $this->_render('menus'),
'//img[contains(@src, "public/opac/skins/modele/images/menus/ledgreen.png")]',
'//img[contains(@src, "public/opac/skins/original/images/menus/ledgreen.png")]',
$html);
}
......
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