Commit 4daafc95 authored by Alan Garcia's avatar Alan Garcia

Fix un test unitaire de variable

parent 56fdcb8f
...@@ -62,8 +62,7 @@ class m_variablesTest extends AlterncTest ...@@ -62,8 +62,7 @@ class m_variablesTest extends AlterncTest
public function testVariable_init_maybe() public function testVariable_init_maybe()
{ {
$this->object->variable_init_maybe(); $this->object->variable_init_maybe();
global $conf; $this->assertTrue( (is_array($this->object->cache_conf) && !empty($this->object->cache_conf)) );
$this->assertTrue(is_array($conf));
} }
/** /**
......
Markdown is supported
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