diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-07-05 15:26:39 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-07-05 15:26:39 +0200 |
commit | 492a35737c634fee27b0eb9d3ea6425bc6d98396 (patch) | |
tree | ad66532b15c6427a6ab904ae0235940a486d1362 /tests/lib/config.php | |
parent | f29dd1c784b736e5d5398f936733409c0db0160d (diff) | |
download | nextcloud-server-492a35737c634fee27b0eb9d3ea6425bc6d98396.tar.gz nextcloud-server-492a35737c634fee27b0eb9d3ea6425bc6d98396.zip |
fix \OC\Config test cases when debug mode is enabled
Diffstat (limited to 'tests/lib/config.php')
-rw-r--r-- | tests/lib/config.php | 2 |
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); |