test/test_helper.rb in active_merchant-epsilon-0.5.8 vs test/test_helper.rb in active_merchant-epsilon-0.5.9
- old
+ new
@@ -77,11 +77,13 @@
user_id: "U#{Time.now.to_i}",
user_name: 'YAMADA Taro',
user_email: 'yamada-taro@example.com',
item_code: 'ITEM001',
item_name: 'Greate Product',
- order_number: "O#{now.sec}#{now.usec}"
+ order_number: "O#{now.sec}#{now.usec}",
+ memo1: 'memo1',
+ memo2: 'memo2',
}
end
def installment_purchase_detail
now = Time.now
@@ -92,10 +94,12 @@
item_code: 'ITEM001',
item_name: 'Greate Product',
order_number: "O#{now.sec}#{now.usec}",
credit_type: ActiveMerchant::Billing::EpsilonGateway::CreditType::INSTALLMENT,
payment_time: 3,
+ memo1: 'memo1',
+ memo2: 'memo2',
}
end
def revolving_purchase_detail
now = Time.now
@@ -105,10 +109,12 @@
user_email: 'yamada-taro@example.com',
item_code: 'ITEM001',
item_name: 'Greate Product',
order_number: "O#{now.sec}#{now.usec}",
credit_type: ActiveMerchant::Billing::EpsilonGateway::CreditType::REVOLVING,
+ memo1: 'memo1',
+ memo2: 'memo2',
}
end
def purchase_detail_for_registered
{
@@ -116,10 +122,12 @@
user_email: 'yamada-taro@example.com',
user_name: 'YAMADA TARO',
item_code: 'ITEM001',
item_name: 'Greate Product',
order_number: "O#{Time.now.to_i}",
- mission_code: '6'
+ mission_code: '6',
+ memo1: 'memo1',
+ memo2: 'memo2',
}
end
def valid_three_d_secure_pa_res
now = Time.now