feat: maintenance windows (one-off and recurring) and Markdown descriptions #72
@@ -70,7 +70,14 @@ func TestExchangeRejects(t *testing.T) {
|
||||
}{
|
||||
{"wrong nonce", func(i *ssotest.IDP, _ *sso.Flow) { i.NonceOverride = "other" }},
|
||||
{"wrong audience", func(i *ssotest.IDP, _ *sso.Flow) { i.AudienceOverride = "someone-else" }},
|
||||
{"wrong pkce verifier", func(_ *ssotest.IDP, f *sso.Flow) { f.Verifier = "x" + f.Verifier[1:] }},
|
||||
{"wrong pkce verifier", func(_ *ssotest.IDP, f *sso.Flow) {
|
||||
// Replacing the first character must change it, whatever it is.
|
||||
first := "x"
|
||||
if f.Verifier[0] == 'x' {
|
||||
first = "y"
|
||||
}
|
||||
f.Verifier = first + f.Verifier[1:]
|
||||
}},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user