mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
This is necessary because the previous commit changed the logic around payment state, meaning that a complete order with a total of 0 and no complete paymnents is considered to have a payment state of 'paid'. I don't think this is problematic, since it is not possible to check out an order without line items. This way the spec tests an order modelled on the real world.