[ 
https://issues.apache.org/jira/browse/OFBIZ-2730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Awdesh Singh Parihar updated OFBIZ-2730:
----------------------------------------

    Attachment: OFBiz-2730.patch

-- Imlemented test case to test service depositWithdrawPayments .
For Given condition : -
1)  if the variable "groupInOneTransaction" passed to the service.
2) "groupInOneTransaction" is not passed to the service.

Thanks to Rishi Solanki

--
Awdesh Parihar

> Junit test for the "depositWithdrawPayments"
> --------------------------------------------
>
>                 Key: OFBIZ-2730
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2730
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Rishi Solanki
>             Fix For: SVN trunk
>
>         Attachments: OFBiz-2730.patch
>
>
> Need to write two Junit tests independently for the particular service. 
> - If the variable "groupInOneTransaction" passed to the service.
> - "groupInOneTransaction" is not passed to the service.
> For the first part check for the all payments are associated with the 
> particular FinAccountTrans Id, and the amount should be total of the amount 
> of the all paymentIds passed to the service.
> For the second test test the all amount in the payment and finAccountTrans 
> are equal and paymentId is in the finAccountTrans record or not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to