File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,11 @@ def generate_audience_error(expected, actual)
9696
9797 it "Raise ValidationError if XML contains SyntaxError trying to initialize and soft = false" do
9898 settings . soft = false
99- error_msg = 'XML load failed: 53:875: FATAL: Opening and ending tag mismatch: X509Certificate line 53 and SignatureValue'
99+ error_msg = if jruby?
100+ 'XML load failed: 53:875: FATAL: Opening and ending tag mismatch: X509Certificate line 53 and SignatureValue'
101+ else
102+ 'XML load failed: The element type "ds:X509Certificate" must be terminated by the matching end-tag "</ds:X509Certificate>"'
103+ end
100104 assert_raises ( RubySaml ::ValidationError , error_msg ) do
101105 OneLogin ::RubySaml ::Response . new ( fixture ( :response_wrong_syntax ) , :settings => settings )
102106 end
You can’t perform that action at this time.
0 commit comments