Skip to content

Commit

Permalink
Simetrik: Removed failing refund test because of acquiring bank's res…
Browse files Browse the repository at this point in the history
…trictions.
  • Loading branch information
Felipe Velásquez Montoya committed Mar 14, 2022
1 parent 02545e3 commit c9f4924
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions test/remote/gateways/remote_simetrik_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -296,22 +296,6 @@ def test_failed_void
assert_equal 'VOID_REJECTED', void.message
end

def test_successful_refund
option = {
token_acquirer: 'bd4c0f26-a357-4294-9b9e-a90e6c868c6e',
trace_id: '23138123-321213',
comment: 'Daniel Bernal',
currency: 'PEN',
acquire_extra_options: {
ruc: '20202380621'
}
}

assert refund = @gateway.refund(200, '936ca6a48a8b4cd3a3050bc637a5e2bc', option)
assert_success refund
assert_equal 'successful refund', refund.message
end

def test_failed_refund
response = @gateway.purchase(@amount, @credit_card, @authorize_capture_options_success)
option = {
Expand Down

0 comments on commit c9f4924

Please sign in to comment.