forked from Wavyzz/dolibarr
Fix warning
This commit is contained in:
@@ -1141,10 +1141,10 @@ class FunctionsLibTest extends PHPUnit\Framework\TestCase
|
||||
$verifcond=verifCond('1==2');
|
||||
$this->assertFalse($verifcond, 'Test a false comparison');
|
||||
|
||||
$verifcond=verifCond('$conf->facture->enabled');
|
||||
$verifcond=verifCond('isModEnabled("facture")');
|
||||
$this->assertTrue($verifcond, 'Test that the conf property of a module reports true when enabled');
|
||||
|
||||
$verifcond=verifCond('$conf->moduledummy->enabled');
|
||||
$verifcond=verifCond('isModEnabled("moduledummy")');
|
||||
$this->assertFalse($verifcond, 'Test that the conf property of a module reports false when disabled');
|
||||
|
||||
$verifcond=verifCond(0);
|
||||
|
||||
Reference in New Issue
Block a user