Skip to content

Commit

Permalink
Remove deprecated Samsung Pay Card
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Dec 13, 2024
1 parent 7d3e4b6 commit 5acb305
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 502 deletions.
13 changes: 0 additions & 13 deletions test/pay/braintree/customer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,6 @@ class Pay::Braintree::CustomerTest < ActiveSupport::TestCase
assert_equal "Visa", charge.brand
end

test "braintree can charge card with Samsung Pay Card" do
@pay_customer.update_payment_method "tokensam_fake_mastercard"
charge = @pay_customer.charge(29_00)
assert_equal "card", charge.payment_method_type
assert_equal "MasterCard", charge.brand
end

test "braintree can charge card with Visa Checkout Card" do
@pay_customer.update_payment_method "fake-visa-checkout-amex-nonce"
charge = @pay_customer.charge(29_00)
Expand Down Expand Up @@ -120,12 +113,6 @@ class Pay::Braintree::CustomerTest < ActiveSupport::TestCase
assert_equal "Visa", @pay_customer.default_payment_method.brand
end

test "braintree update Samsung Pay Card" do
@pay_customer.update_payment_method "tokensam_fake_mastercard"
assert_equal "card", @pay_customer.default_payment_method.payment_method_type
assert_equal "MasterCard", @pay_customer.default_payment_method.brand
end

test "braintree update Visa Checkout Card" do
@pay_customer.update_payment_method "fake-visa-checkout-amex-nonce"
assert_equal "card", @pay_customer.default_payment_method.payment_method_type
Expand Down

This file was deleted.

Loading

0 comments on commit 5acb305

Please sign in to comment.