test/test_data.rb in stripe-1.54.0 vs test/test_data.rb in stripe-1.55.0

- old
+ new

@@ -846,7 +846,28 @@ :livemode => false, :redirect_url => nil, :status => 'succeeded', }.merge(params) end + + def make_apple_pay_domain(params={}) + { + :id => "apwc_test_domain", + :object => "apple_pay_domain", + :domain_name => "test.com", + :livemode => false + }.merge(params) + end + + def make_apple_pay_domain_array + { + :object => "list", + :resource_url => "/v1/apple_pay/domains", + :data => [ + make_apple_pay_domain, + make_apple_pay_domain, + make_apple_pay_domain + ] + } + end end end