diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-09-25 16:00:36 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-09-28 10:47:49 +0200 |
commit | b50d1aae5647795781d4965e52a6154c53e87860 (patch) | |
tree | 71dfa10271f430c78ca26314ba3c9d3b8bac8996 /tests | |
parent | 9a010cc8ce281650038cd1444f63a02245eea523 (diff) | |
download | nextcloud-server-b50d1aae5647795781d4965e52a6154c53e87860.tar.gz nextcloud-server-b50d1aae5647795781d4965e52a6154c53e87860.zip |
rename config test to prevent autoloader issue
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/configtests.php (renamed from tests/lib/config.php) | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/lib/config.php b/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 = '<?php $CONFIG=array("foo"=>"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() { |