Files
ofbiz-framework/applications/order/minilang/test
Jacques Le Roux a3fc1e8205 Fixed: Convert InvoicePerShipmentTests.xml to Groovy (OFBIZ-11553)
The order created with test case testCreateOrderServiceProduct did not get
approved so the quick ship process did not work correctly while with specific
configurableServiceOrder-test new order has got approved and the quick ship
process worked correctly.

We got multiple payment methods i.e. EXT_PAYPAL and EXT_COD but in the test case
only EXT_COD was defined.

Without shopping cart tests testIntegration works perfectly.

Shopping cart has multiple payment methods, and as cart has multiple payment
methods, order is not approved
(org/apache/ofbiz/order/shoppingcart/CheckOutHelper.java:1166)

This ensures single paymentMethod. It could reviewed again when converting
ShoppingCartTests.xml to Groovy. I have added a comment about that

Thanks: Pawan and Suraj
2020-07-26 08:45:39 +02:00
..