~singpolyma/sgx-jmp

5208fbd182f050245f361ab02cd4ba2b9485b8fa — Stephen Paul Weber 3 years ago a0bb2b9
fix ci
1 files changed, 4 insertions(+), 4 deletions(-)

M test/test_buy_account_credit_form.rb
M test/test_buy_account_credit_form.rb => test/test_buy_account_credit_form.rb +4 -4
@@ 6,13 6,13 @@ require "customer"

class BuyAccountCreditFormTest < Minitest::Test
	def setup
		@customer = Customer.new(
		@customer = Minitest::Mock.new(Customer.new(
			1,
			plan_name: "test_usd",
			balance: BigDecimal.new("12.1234")
		)
		@customer.instance_variable_set(
			:@payment_methods,
		))
		@customer.expect(
			:payment_methods,
			EMPromise.resolve(PaymentMethods.new([
				OpenStruct.new(card_type: "Test", last_4: "1234")
			]))