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

rel #17078: fix test failure

parent 73b1ddc1
Branches
Tags
5 merge requests!545Master,!544Master,!543Master,!538Dev#17078 view record in specific profile,!532Dev#17078 view record in specific profile
......@@ -96,7 +96,9 @@ abstract class ViewHelperTestCase extends PHPUnit_Framework_TestCase {
if (!defined("URL_IMG"))
define("URL_IMG", 'public/opac/skins/original/images');
Class_AdminVar::getLoader()->newInstanceWithId('CACHE_ACTIF')->setValeur(false);
Class_AdminVar::newInstanceWithId('CACHE_ACTIF')->setValeur(false);
$this->fixture('Class_Profil', ['id' => 1, 'libelle' => 'portail']);
Class_Profil::setCurrentProfil($this->fixture('Class_Profil', ['id' => 2]));
$router = new Zend_Controller_Router_Rewrite();
......
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