Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
amtuannguyen committed Nov 18, 2024
1 parent 06bc4ca commit 0385d5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/controllers/ypb_postback_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class YpbPostbackControllerTest < ActionDispatch::IntegrationTest
@params = {
tokenid: @transaction.uid,
orderid: @transaction.order_id,
yporderid: @transaction.order_id,
ypborderid: @transaction.order_id,
status: PaymentTransaction::STATUS_APPROVED,
message: "Some message",
cardtype: "V",
Expand All @@ -29,7 +29,7 @@ class YpbPostbackControllerTest < ActionDispatch::IntegrationTest

@transaction.reload
assert_not_nil @transaction.ypb_transaction_approved_at
assert_equal @params[:yporderid], @transaction.yporderid
assert_equal @params[:ypborderid], @transaction.yporderid
assert_equal @params[:status], @transaction.status
assert_equal @params[:message], @transaction.message
assert_equal @params[:cardtype], @transaction.cardtype
Expand All @@ -50,7 +50,7 @@ class YpbPostbackControllerTest < ActionDispatch::IntegrationTest

@transaction.reload
assert_not_nil @transaction.ypb_transaction_declined_at
assert_equal @params[:yporderid], @transaction.yporderid
assert_equal @params[:ypborderid], @transaction.yporderid
assert_equal @params[:status], @transaction.status
assert_equal @params[:message], @transaction.message
assert_equal @params[:cardtype], @transaction.cardtype
Expand Down

0 comments on commit 0385d5e

Please sign in to comment.