aboutsummaryrefslogtreecommitdiffstats
path: root/tests/core
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-05-08 09:58:47 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-07-07 11:18:24 +0200
commit5370bba0b69aaba94567604ab99661a528d5b052 (patch)
tree37eddd163685f3fc8b2374494d195fd061044cd2 /tests/core
parent16907f91ed6f8193f487f7ce602632dc905332cb (diff)
downloadnextcloud-server-5370bba0b69aaba94567604ab99661a528d5b052.tar.gz
nextcloud-server-5370bba0b69aaba94567604ab99661a528d5b052.zip
Split the system from the app config
Diffstat (limited to 'tests/core')
-rw-r--r--tests/core/command/config/listconfigstest.php33
1 files changed, 18 insertions, 15 deletions
diff --git a/tests/core/command/config/listconfigstest.php b/tests/core/command/config/listconfigstest.php
index 2d65e957621..4ea4a92cf81 100644
--- a/tests/core/command/config/listconfigstest.php
+++ b/tests/core/command/config/listconfigstest.php
@@ -23,7 +23,6 @@ namespace Tests\Core\Command\Config;
use OC\Core\Command\Config\ListConfigs;
-use OC\Core\Command\Config\NoValue;
use Test\TestCase;
class ListConfigsTest extends TestCase {
@@ -58,7 +57,7 @@ class ListConfigsTest extends TestCase {
}
- public function dataDisable() {
+ public function listData() {
return [
[
'all',
@@ -82,15 +81,17 @@ class ListConfigsTest extends TestCase {
],
true,
json_encode([
- 'core' => [
- 'global_cache_gc_lastrun' => '1430388388',
- ],
- 'files' => [
- 'enabled' => 'yes',
- ],
'system' => [
'overwrite.cli.url' => 'http://localhost',
],
+ 'apps' => [
+ 'core' => [
+ 'global_cache_gc_lastrun' => '1430388388',
+ ],
+ 'files' => [
+ 'enabled' => 'yes',
+ ],
+ ],
]),
],
[
@@ -115,16 +116,18 @@ class ListConfigsTest extends TestCase {
],
false,
json_encode([
- 'core' => [
- 'global_cache_gc_lastrun' => '1430388388',
- ],
- 'files' => [
- 'enabled' => 'yes',
- ],
'system' => [
'secret' => 'my secret',
'overwrite.cli.url' => 'http://localhost',
],
+ 'apps' => [
+ 'core' => [
+ 'global_cache_gc_lastrun' => '1430388388',
+ ],
+ 'files' => [
+ 'enabled' => 'yes',
+ ],
+ ],
]),
],
[
@@ -232,7 +235,7 @@ class ListConfigsTest extends TestCase {
}
/**
- * @dataProvider dataDisable
+ * @dataProvider listData
*
* @param string $app
* @param array $systemConfigs