diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-08-19 14:06:05 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-08-19 14:06:05 +0200 |
commit | 6231bbdde39301b62092eb6e2286a00d62ce07ea (patch) | |
tree | da120ceaf48760218184c183f36e37a6f60bdf89 /tests/core | |
parent | 0b37004808c22792dab350eebfc763db6408b440 (diff) | |
download | nextcloud-server-6231bbdde39301b62092eb6e2286a00d62ce07ea.tar.gz nextcloud-server-6231bbdde39301b62092eb6e2286a00d62ce07ea.zip |
Filter the objectstore password from the config list as well
Diffstat (limited to 'tests/core')
-rw-r--r-- | tests/core/command/config/listconfigstest.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/core/command/config/listconfigstest.php b/tests/core/command/config/listconfigstest.php index c9913d83f7f..7492701cce3 100644 --- a/tests/core/command/config/listconfigstest.php +++ b/tests/core/command/config/listconfigstest.php @@ -81,6 +81,7 @@ class ListConfigsTest extends TestCase { false, json_encode([ 'system' => [ + 'secret' => ListConfigs::SENSITIVE_VALUE, 'overwrite.cli.url' => 'http://localhost', ], 'apps' => [ @@ -134,10 +135,18 @@ class ListConfigsTest extends TestCase { // config.php [ 'secret', + 'objectstore', 'overwrite.cli.url', ], [ ['secret', 'N;', 'my secret'], + ['objectstore', 'N;', [ + 'class' => 'OC\\Files\\ObjectStore\\Swift', + 'arguments' => [ + 'username' => 'facebook100000123456789', + 'password' => 'Secr3tPaSSWoRdt7', + ], + ]], ['overwrite.cli.url', 'N;', 'http://localhost'], ], // app config @@ -152,6 +161,14 @@ class ListConfigsTest extends TestCase { false, json_encode([ 'system' => [ + 'secret' => ListConfigs::SENSITIVE_VALUE, + 'objectstore' => [ + 'class' => 'OC\\Files\\ObjectStore\\Swift', + 'arguments' => [ + 'username' => 'facebook100000123456789', + 'password' => ListConfigs::SENSITIVE_VALUE, + ], + ], 'overwrite.cli.url' => 'http://localhost', ], ]), |