[jira] [Commented] (OFBIZ-11553) Convert InvoicePerShipmentTests.xml to Groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-11553) Convert InvoicePerShipmentTests.xml to Groovy

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-11553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17165168#comment-17165168 ]

ASF subversion and git services commented on OFBIZ-11553:
---------------------------------------------------------

Commit a3fc1e8205995aa8438df9bd0c2927dd8cbc6667 in ofbiz-framework's branch refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=a3fc1e8 ]

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


> Convert  InvoicePerShipmentTests.xml to Groovy
> ----------------------------------------------
>
>                 Key: OFBIZ-11553
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11553
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: Trunk
>            Reporter: Rohit Hukkeri
>            Assignee: Priya Sharma
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-11553-test.patch
>
>
> Convert InvoicePerShipmentTests.xml to Groovy



--
This message was sent by Atlassian Jira
(v8.3.4#803005)