From 492a35737c634fee27b0eb9d3ea6425bc6d98396 Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Fri, 5 Jul 2013 15:26:39 +0200
Subject: [PATCH] fix \OC\Config test cases when debug mode is enabled

---
 tests/lib/config.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/lib/config.php b/tests/lib/config.php
index 12473eb667..87ee2807c2 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);
-- 
GitLab