You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -368,7 +368,7 @@ class RubySamlTest < Minitest::Test
368
368
settings.issuer='invalid'
369
369
response_valid_signed.settings=settings
370
370
response_valid_signed.is_valid?
371
-
assert_includesresponse_valid_signed.errors,"#{response_valid_signed.settings.issuer} is not a valid audience for this Response"
371
+
assert_includesresponse_valid_signed.errors,"#{response_valid_signed.settings.issuer} is not a valid audience for this Response - Valid audiences: https://someone.example.com/audience"
372
372
end
373
373
374
374
it"return false when no ID present in the SAML Response"do
@@ -411,7 +411,7 @@ class RubySamlTest < Minitest::Test
411
411
response.settings=settings
412
412
response.settings.issuer='invalid_audience'
413
413
assert !response.send(:validate_audience)
414
-
assert_includesresponse.errors,"#{response.settings.issuer} is not a valid audience for this Response"
414
+
assert_includesresponse.errors,"#{response.settings.issuer} is not a valid audience for this Response - Valid audiences: {audience}"
415
415
end
416
416
end
417
417
@@ -551,7 +551,7 @@ class RubySamlTest < Minitest::Test
assert_includesresponse_invalid_audience.errors,"#{response_invalid_audience.settings.issuer} is not a valid audience for this Response"
554
+
assert_includesresponse_invalid_audience.errors,"#{response_invalid_audience.settings.issuer} is not a valid audience for this Response - Valid audiences: http://invalid.audience.com"
0 commit comments