summaryrefslogtreecommitdiff
path: root/internal/configuration/helpers_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/configuration/helpers_test.go')
-rw-r--r--internal/configuration/helpers_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/configuration/helpers_test.go b/internal/configuration/helpers_test.go
index 0c86d09a5..fcb7e343d 100644
--- a/internal/configuration/helpers_test.go
+++ b/internal/configuration/helpers_test.go
@@ -41,12 +41,12 @@ func TestGetEnvConfigMaps(t *testing.T) {
assert.Equal(t, key, "mysecret.user_password")
key, ok = keys[DefaultEnvPrefix+"MYOTHER_CONFIGKEY"]
- assert.False(t, ok)
- assert.Equal(t, key, "")
+ assert.True(t, ok)
+ assert.Equal(t, "myother.configkey", key)
key, ok = keys[DefaultEnvPrefix+"MYSECRET_PASSWORD"]
- assert.False(t, ok)
- assert.Equal(t, key, "")
+ assert.True(t, ok)
+ assert.Equal(t, "mysecret.password", key)
assert.Len(t, ignoredKeys, 4)
assert.Contains(t, ignoredKeys, DefaultEnvPrefix+"MYOTHER_CONFIGKEY_FILE")