From b50d1aae5647795781d4965e52a6154c53e87860 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 25 Sep 2015 16:00:36 +0200 Subject: [PATCH] rename config test to prevent autoloader issue --- tests/lib/{config.php => configtests.php} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename tests/lib/{config.php => configtests.php} (97%) diff --git a/tests/lib/config.php b/tests/lib/configtests.php similarity index 97% rename from tests/lib/config.php rename to tests/lib/configtests.php index 91154579ab5..0269ae542f4 100644 --- a/tests/lib/config.php +++ b/tests/lib/configtests.php @@ -6,7 +6,9 @@ * See the COPYING-README file. */ -class Test_Config extends \Test\TestCase { +namespace Test; + +class ConfigTests extends TestCase { const TESTCONTENT = '"bar", "beers" => array("Appenzeller", "Guinness", "Kölsch"), "alcohol_free" => false);'; /** @var array */ @@ -24,7 +26,7 @@ class Test_Config extends \Test\TestCase { $this->randomTmpDir = \OC_Helper::tmpFolder(); $this->configFile = $this->randomTmpDir.'testconfig.php'; file_put_contents($this->configFile, self::TESTCONTENT); - $this->config = new OC\Config($this->randomTmpDir, 'testconfig.php'); + $this->config = new \OC\Config($this->randomTmpDir, 'testconfig.php'); } protected function tearDown() {