Add missing files, fix formatting
Some checks failed
Some checks failed
This commit is contained in:
@@ -271,7 +271,7 @@ class OidcClaimsSecurityTest < ActionDispatch::IntegrationTest
|
||||
'{"id_token":{"email":{"essential":true}}}',
|
||||
'{"userinfo":{"groups":{"values":["admin"]}}}',
|
||||
'{"id_token":{"custom_claim":"custom_value"}}',
|
||||
'invalid-json'
|
||||
"invalid-json"
|
||||
]
|
||||
|
||||
malicious_claims.each do |claims_value|
|
||||
|
||||
@@ -76,7 +76,7 @@ class OidcPromptLoginTest < ActionDispatch::IntegrationTest
|
||||
|
||||
# Should redirect to sign in because session is too old
|
||||
assert_response :redirect
|
||||
assert_redirected_to /signin/
|
||||
assert_redirected_to(/signin/)
|
||||
|
||||
# Sign in again
|
||||
post "/signin", params: {
|
||||
@@ -194,7 +194,7 @@ class OidcPromptLoginTest < ActionDispatch::IntegrationTest
|
||||
|
||||
# Should redirect to sign in
|
||||
assert_response :redirect
|
||||
assert_redirected_to /signin/
|
||||
assert_redirected_to(/signin/)
|
||||
|
||||
# Sign in again (simulating user re-authentication)
|
||||
post "/signin", params: {
|
||||
|
||||
Reference in New Issue
Block a user