diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-07-26 14:31:14 +0300 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-07-26 16:21:22 +0300 |
commit | a9ccac2f206882ad1008c219cc94c48e7a434f57 (patch) | |
tree | 31c7e87d79547d4d7bed2ee39d7ac5402fb38c5b /tests | |
parent | 159ff6dd976704cb405e3502e3d0bbf81c80ffce (diff) |
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); } |