Skip to content

Commit

Permalink
Secure Pay AU test fix: Voids apply on authorizations, not purchases.
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb Simpson committed Jun 24, 2013
1 parent 0f4d9fc commit 46e659f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/remote/gateways/remote_secure_pay_au_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def test_failed_refund
end

def test_successful_void
assert response = @gateway.purchase(@amount, @credit_card, @options)
assert response = @gateway.authorize(@amount, @credit_card, @options)
assert_success response

authorization = response.authorization
Expand Down

0 comments on commit 46e659f

Please sign in to comment.