Skip to content
Snippets Groups Projects
Commit 3d44c856 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #24018 fix test failure

parent dd3de80f
3 merge requests!896Master,!816Stable,!814Hotline #24018 fix duplicate id module in same page
......@@ -80,9 +80,11 @@ abstract class AbstractIndexControllerTelephoneWithModulesTest extends Telephone
->setHeaderCss('mon_style.css')
->setHauteurBanniere(150)
->setBrowser('telephone')
->setSubProfils([$this->fixture('Class_Profil', ['id' => 34])])
->beCurrentProfil();
$this->fixture('Class_Profil', ['id' => 34,
'parent_profil' => $this->profil_adulte]);
Class_Profil_Skin::setFileSystem((new Storm_FileSystem_Volatile())
->mkdir('/public/opac/skins/vide/css/')
->touch('/public/opac/skins/vide/css/mobile.css'));
......@@ -98,6 +100,7 @@ abstract class AbstractIndexControllerTelephoneWithModulesTest extends Telephone
}
class IndexControllerTelephoneOnSubpageTest extends AbstractIndexControllerTelephoneWithModulesTest {
public function setUp() {
parent::setUp();
......
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