mirror of
https://github.com/TwiN/gatus.git
synced 2026-02-10 03:14:21 +00:00
Initial implementation
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user