1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-06-17 00:17:40 +02:00

added better tests for gcp healthcheck stuff

This commit is contained in:
timothy-spencer
2019-03-25 09:56:56 -07:00
parent e9f36fa4b5
commit 3d22a11658
2 changed files with 77 additions and 0 deletions

View File

@ -268,3 +268,9 @@ func TestSkipOIDCDiscovery(t *testing.T) {
assert.Equal(t, nil, o.Validate())
}
func TestGCPHealthcheck(t *testing.T) {
o := testOptions()
o.GCPHealthChecks = true
assert.Equal(t, nil, o.Validate())
}