Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: Trunk
    • Component/s: accounting
    • Labels:
      None

      Description

      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.

      1. OFBiz-2730.patch
        6 kB
        Awdesh Singh Parihar

        Activity

        Rishi Solanki created issue -
        Hide
        Awdesh Singh Parihar added a comment -

        – 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

        Show
        Awdesh Singh Parihar added a comment - – 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
        Awdesh Singh Parihar made changes -
        Field Original Value New Value
        Attachment OFBiz-2730.patch [ 12413545 ]
        Anil K Patel made changes -
        Assignee Anil K Patel [ anilpatel ]
        Hide
        Anil K Patel added a comment -

        Patch is in r794960. Thanks.

        Show
        Anil K Patel added a comment - Patch is in r794960. Thanks.
        Anil K Patel made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Gavin made changes -
        Workflow jira [ 12470627 ] OFbiz Workflow [ 12506434 ]

          People

          • Assignee:
            Anil K Patel
            Reporter:
            Rishi Solanki
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development