Skip to content

Commit 582ad4c

Browse files
committed
Unstub after use, otherwise conflicts with other test in JRuby
1 parent 9577643 commit 582ad4c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/response_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ class RubySamlTest < Minitest::Test
134134
no_signature_response.settings.idp_cert_fingerprint = "28:74:9B:E8:1F:E8:10:9C:A8:7C:A9:C3:E3:C5:01:6C:92:1C:B4:BA"
135135
XMLSecurity::SignedDocument.any_instance.expects(:validate_signature).returns(true)
136136
assert no_signature_response.validate!
137+
XMLSecurity::SignedDocument.any_instance.unstub(:validate_signature)
137138
end
138139

139140
it "validate ADFS assertions" do

0 commit comments

Comments
 (0)