diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-28 11:33:43 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-28 11:33:43 +0200 |
commit | c300394348ea0420ceecef46de9ed82babaff7c1 (patch) | |
tree | db7dbc3b8a459bbe1392a38d5a9d4329c059c71d | |
parent | 60f123193ba4fcd4dc26d628e9688aee6ffe1e12 (diff) | |
parent | b50d1aae5647795781d4965e52a6154c53e87860 (diff) | |
download | nextcloud-server-c300394348ea0420ceecef46de9ed82babaff7c1.tar.gz nextcloud-server-c300394348ea0420ceecef46de9ed82babaff7c1.zip |
Merge pull request #19374 from owncloud/rename-config-test
rename config test to prevent autoloader issue
-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() { |