test/integration/orders/test_orders.rb in peddler-0.6.3 vs test/integration/orders/test_orders.rb in peddler-0.6.4
- old
+ new
@@ -11,9 +11,12 @@
amazon_order_ids << orders.to_a.sample.amazon_order_id
orders = client.list_orders_by_next_token
amazon_order_ids << orders.to_a.sample.amazon_order_id
+ orders = client.list_orders_by_next_token(orders.next_token)
+ amazon_order_ids << orders.to_a.sample.amazon_order_id
+
orders = client.get_order(*amazon_order_ids)
assert orders
end
end
end