mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
Fix order by changing expected results: order is paid.
These tests use order factory order_with_credit_payment with ‘amount: order.total + 10000’ and since spree 2 when order payment state is credit_owned (customer has credit after the order), the order is considered paid 71c6c4f297
This commit is contained in:
@@ -169,6 +169,6 @@ feature "Order Management", js: true do
|
||||
end
|
||||
|
||||
def be_confirmed_order_page
|
||||
have_content /Order #\w+ Confirmed NOT PAID/
|
||||
have_content /Order #\w+ Confirmed PAID/
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user