[ https://issues.apache.org/jira/browse/OFBIZ-12454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre Smits updated OFBIZ-12454: --------------------------------- Summary: testInvoicePerShipment is broken (was: tesitInvoicePerShipment is broken) > testInvoicePerShipment is broken > -------------------------------- > > Key: OFBIZ-12454 > URL: https://issues.apache.org/jira/browse/OFBIZ-12454 > Project: OFBiz > Issue Type: Bug > Components: accounting > Affects Versions: Trunk > Reporter: Pierre Smits > Priority: Major > Labels: integration-test, test-failure > > > Running the test with parameters ("GZ-1000", "N") as shown in comment in > OFBIZ-12453 (see below) > {code:java} > List invoices = testInvoicePerShipment("GZ-1000", "N") {code} > results in an error (see below) > {code:java} > 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) {code} > > -- This message was sent by Atlassian Jira (v8.20.1#820001)