mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-28 23:48:30 +02:00
fix tests
This commit is contained in:
parent
d6dbf86b2d
commit
ab8f16e71a
3 changed files with 0 additions and 12 deletions
|
@ -41,8 +41,6 @@ func TestOptions_Validate(t *testing.T) {
|
|||
badAuthURL.AuthenticateURLString = "BAD_URL"
|
||||
authenticateBadScheme := testOptions(t)
|
||||
authenticateBadScheme.AuthenticateURLString = "authenticate.corp.beyondperimeter.com"
|
||||
emptyCookieSecret := testOptions(t)
|
||||
emptyCookieSecret.CookieSecret = ""
|
||||
invalidCookieSecret := testOptions(t)
|
||||
invalidCookieSecret.CookieSecret = "OromP1gurwGWjQPYb1nNgSxtbVB5NnLzX6z5WOKr0Yw^"
|
||||
shortCookieLength := testOptions(t)
|
||||
|
@ -62,7 +60,6 @@ func TestOptions_Validate(t *testing.T) {
|
|||
}{
|
||||
{"good - minimum options", good, false},
|
||||
{"nil options", &config.Options{}, true},
|
||||
{"no cookie secret", emptyCookieSecret, true},
|
||||
{"invalid cookie secret", invalidCookieSecret, true},
|
||||
{"short cookie secret", shortCookieLength, true},
|
||||
{"no shared secret", badSharedKey, true},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue