diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-07 11:25:29 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-07 11:25:29 +0200 |
commit | e5bc9d06195f95940fda5b600560c11dcd720636 (patch) | |
tree | 1e28b7e2f348b0b3e145acb1f945630746e26a08 /tests | |
parent | 971060862e7fac14b95cc6cf81510d9992a929a6 (diff) | |
download | nextcloud-server-e5bc9d06195f95940fda5b600560c11dcd720636.tar.gz nextcloud-server-e5bc9d06195f95940fda5b600560c11dcd720636.zip |
Make it possible to import exportet app/system configs
Diffstat (limited to 'tests')
-rw-r--r-- | tests/core/command/config/listconfigstest.php | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/tests/core/command/config/listconfigstest.php b/tests/core/command/config/listconfigstest.php index b7021384df9..06c0f08873f 100644 --- a/tests/core/command/config/listconfigstest.php +++ b/tests/core/command/config/listconfigstest.php @@ -151,7 +151,9 @@ class ListConfigsTest extends TestCase { ], true, json_encode([ - 'overwrite.cli.url' => 'http://localhost', + 'system' => [ + 'overwrite.cli.url' => 'http://localhost', + ], ]), ], [ @@ -176,8 +178,10 @@ class ListConfigsTest extends TestCase { ], false, json_encode([ - 'secret' => 'my secret', - 'overwrite.cli.url' => 'http://localhost', + 'system' => [ + 'secret' => 'my secret', + 'overwrite.cli.url' => 'http://localhost', + ], ]), ], [ @@ -202,7 +206,11 @@ class ListConfigsTest extends TestCase { ], true, json_encode([ - 'enabled' => 'yes', + 'apps' => [ + 'files' => [ + 'enabled' => 'yes', + ], + ], ]), ], [ @@ -227,7 +235,11 @@ class ListConfigsTest extends TestCase { ], false, json_encode([ - 'enabled' => 'yes', + 'apps' => [ + 'files' => [ + 'enabled' => 'yes', + ], + ], ]), ], ]; |