mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-14 23:47:48 +00:00
Adapt code coming from master to the new order api with update_order!
This commit is contained in:
@@ -204,7 +204,7 @@ describe Api::V0::ShipmentsController, type: :controller do
|
||||
before do
|
||||
order.shipments.first.shipping_methods = [shipping_method1, shipping_method2]
|
||||
order.select_shipping_method(shipping_method1.id)
|
||||
order.update!
|
||||
order.update_order!
|
||||
order.update_columns(
|
||||
payment_total: 60,
|
||||
payment_state: "paid"
|
||||
|
||||
Reference in New Issue
Block a user