Initial implementation

This commit is contained in:
tiwood committed 2022-03-07 21:55:40 +01:00
1 parent 6932edc6d0
commit 7f2f3a603a
5 files changed
+176

No files matched your search

+3
View File
@@ -65,6 +65,9 @@ func TestEndpoint_ValidateAndSetDefaults(t *testing.T) {
if endpoint.Alerts[0].FailureThreshold != 3 {
t.Error("Endpoint alert should've defaulted to a failure threshold of 3")
}
if endpoint.HasOIDCConfig() {
t.Error("Endpoint OIDC config should've defaulted to 'nil'")
}
}
func TestEndpoint_ValidateAndSetDefaultsWithClientConfig(t *testing.T) {