diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-07-26 13:31:14 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-07-26 13:31:14 +0200 |
commit | 78201bcb729567915b772d0259d992adb2be1991 (patch) | |
tree | 45264b3fbef42e7ad16e1058a0aa01929939a238 /tests | |
parent | 323f40a49374af02feca7d21da986b36a7d559e2 (diff) | |
download | nextcloud-server-78201bcb729567915b772d0259d992adb2be1991.tar.gz nextcloud-server-78201bcb729567915b772d0259d992adb2be1991.zip |
treat sensitive config keys by pattern
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/AppConfigTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/AppConfigTest.php b/tests/lib/AppConfigTest.php index fed929352d3..9456fe4c232 100644 --- a/tests/lib/AppConfigTest.php +++ b/tests/lib/AppConfigTest.php @@ -318,12 +318,14 @@ class AppConfigTest extends TestCase { ->with('user_ldap', false) ->willReturn([ 'ldap_agent_password' => 'secret', + 's42ldap_agent_password' => 'secret', 'ldap_dn' => 'dn', ]); $values = $config->getFilteredValues('user_ldap'); $this->assertEquals([ 'ldap_agent_password' => IConfig::SENSITIVE_VALUE, + 's42ldap_agent_password' => IConfig::SENSITIVE_VALUE, 'ldap_dn' => 'dn', ], $values); } |