From 4daafc958006bc2316927b142e70f168ff01f13d Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Fri, 28 Mar 2014 14:36:10 +0000 Subject: [PATCH] Fix un test unitaire de variable --- phpunit/tests/bureau/class/m_variablesTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpunit/tests/bureau/class/m_variablesTest.php b/phpunit/tests/bureau/class/m_variablesTest.php index 006f1983..8e5774e0 100644 --- a/phpunit/tests/bureau/class/m_variablesTest.php +++ b/phpunit/tests/bureau/class/m_variablesTest.php @@ -62,8 +62,7 @@ class m_variablesTest extends AlterncTest public function testVariable_init_maybe() { $this->object->variable_init_maybe(); - global $conf; - $this->assertTrue(is_array($conf)); + $this->assertTrue( (is_array($this->object->cache_conf) && !empty($this->object->cache_conf)) ); } /**