Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12454

testInvoicePerShipment is broken

    XMLWordPrintableJSON

Details

    Description

       

      Running the test with parameters ("GZ-1000", "N") as shown in comment in OFBIZ-12453 (see below)

      List invoices = testInvoicePerShipment("GZ-1000", "N") 

      results in an error (see below)

      assert ServiceUtil.isSuccess(serviceResult) | | false ['shipmentId':'EMPTY', 'errorMessage':'No items currently set to be shipped. Cannot complete!', 'responseMessage':'error']
      
      Assertion failed: 
      
      assert ServiceUtil.isSuccess(serviceResult)
      | |
      false ['shipmentId':'EMPTY', 'errorMessage':'No items currently set to be shipped. Cannot complete!', 'responseMessage':'error']
      
      at org.codehaus.groovy.runtime.InvokerHelper.assertFailed(InvokerHelper.java:415)
      at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.assertFailed(ScriptBytecodeAdapter.java:670)
      at org.apache.ofbiz.accounting.InvoicePerShipmentTests.testInvoicePerShipment(InvoicePerShipmentTests.groovy:137)
      at org.apache.ofbiz.accounting.InvoicePerShipmentTests.testInvoicePerShipmentSetFalse(InvoicePerShipmentTests.groovy:154)
      at org.apache.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:90)
      at org.apache.ofbiz.base.container.ContainerLoader.startLoadedContainers(ContainerLoader.java:153)
      at org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:77)
      at org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:146)
      at org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70)
      at org.apache.ofbiz.base.start.Start.main(Start.java:89) 

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pierresmits Pierre Smits
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: