OFBiz
  1. OFBiz
  2. OFBIZ-1463 JUnit test case for various application components
  3. OFBIZ-2711

Junit test case for Accounting - Void Payment and Cancel Invoice services.

    Details

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

      Description

      Write a Junit test case which will test following service -
      1) voidPayment
      2) cancelInvoice - To test it prepare junit test case for setInvoiceStatus with status Id - INVOICE_CANCELED

      Prepare data if require.

        Activity

        Hide
        Surya Kusumakar added a comment -

        Here is the patch for test cases of services voidPayment and cancelInvoice.


        Regards
        Surya Kusumakar

        Show
        Surya Kusumakar added a comment - Here is the patch for test cases of services voidPayment and cancelInvoice. – Regards Surya Kusumakar
        Hide
        Sumit Pandit added a comment - - edited

        Thanks Surya and Awdesh for the patch, I have tested it and it is working fine.


        Thanks
        Sumit Pandit

        Show
        Sumit Pandit added a comment - - edited Thanks Surya and Awdesh for the patch, I have tested it and it is working fine. – Thanks Sumit Pandit
        Hide
        Ashish Vijaywargiya added a comment -

        Thanks Surya, Awdesh & Sumit!
        Done at r792185.


        Ashish Vijaywargiya

        Show
        Ashish Vijaywargiya added a comment - Thanks Surya, Awdesh & Sumit! Done at r792185. – Ashish Vijaywargiya

          People

          • Assignee:
            Ashish Vijaywargiya
            Reporter:
            Sumit Pandit
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development