diff --git a/phpunit/tests/bureau/class/m_variablesTest.php b/phpunit/tests/bureau/class/m_variablesTest.php index 006f1983cac7258cc06ccee09323f8d4dcf17224..8e5774e0d0155095c461c8e5fc569400b6d07398 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)) ); } /**