summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/config.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/config.php b/tests/lib/config.php
index 12473eb6676..87ee2807c2d 100644
--- a/tests/lib/config.php
+++ b/tests/lib/config.php
@@ -39,6 +39,7 @@ class Test_Config extends PHPUnit_Framework_TestCase {
}
public function testSetValue() {
+ $this->config->setDebugMode(false);
$this->config->setValue('foo', 'moo');
$this->assertAttributeEquals(array('foo' => 'moo'), 'cache', $this->config);
$content = file_get_contents(self::CONFIG_FILE);
@@ -65,6 +66,7 @@ EOL
}
public function testDeleteKey() {
+ $this->config->setDebugMode(false);
$this->config->deleteKey('foo');
$this->assertAttributeEquals(array(), 'cache', $this->config);
$content = file_get_contents(self::CONFIG_FILE);