summaryrefslogtreecommitdiff
path: root/internal/configuration/helpers_test.go
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2022-09-16 14:21:05 +1000
committerGitHub <noreply@github.com>2022-09-16 14:21:05 +1000
commit9c72bc8977359ef5b79996d2b9bd41882438d11d (patch)
tree64eda7f64adc8f36bd2ec7f55f6a70b85702acb9 /internal/configuration/helpers_test.go
parent15110b732a4a24c9bd611477627bdd06291e10b2 (diff)
ci: gen github tmpl locales and commitlint (#3759)
This adds several automatic generators for Authelia docs etc.
Diffstat (limited to 'internal/configuration/helpers_test.go')
-rw-r--r--internal/configuration/helpers_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/configuration/helpers_test.go b/internal/configuration/helpers_test.go
index b244d4dcf..cc8cd1180 100644
--- a/internal/configuration/helpers_test.go
+++ b/internal/configuration/helpers_test.go
@@ -7,12 +7,12 @@ import (
)
func TestIsSecretKey(t *testing.T) {
- assert.True(t, isSecretKey("my_fake_token"))
- assert.False(t, isSecretKey("my_fake_tokenz"))
- assert.True(t, isSecretKey("my_.fake.secret"))
- assert.True(t, isSecretKey("my.password"))
- assert.False(t, isSecretKey("my.passwords"))
- assert.False(t, isSecretKey("my.passwords"))
+ assert.True(t, IsSecretKey("my_fake_token"))
+ assert.False(t, IsSecretKey("my_fake_tokenz"))
+ assert.True(t, IsSecretKey("my_.fake.secret"))
+ assert.True(t, IsSecretKey("my.password"))
+ assert.False(t, IsSecretKey("my.passwords"))
+ assert.False(t, IsSecretKey("my.passwords"))
}
func TestGetEnvConfigMaps(t *testing.T) {