IDEMPIERE-4319 Cascade workflow activities (#110)

Test case is different now because raising the exception, the order is not Invalid, but Draft
Jenkins test job failing:
https://jenkins.idempiere.org/job/iDempiereDaily/239/org.idempiere$org.idempiere.test/testReport/org.idempiere.test.model/SalesOrderTest/testDatePromisedValidation/
This commit is contained in:
Carlos Ruiz 2020-06-13 06:58:34 +02:00 committed by GitHub
parent 10771a7408
commit fb67a8f375
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public class SalesOrderTest extends AbstractTestCase {
ProcessInfo info = MWorkflow.runDocumentActionWorkflow(order, DocAction.ACTION_Complete);
order.load(getTrxName());
assertTrue(info.isError());
assertEquals(DocAction.STATUS_Invalid, order.getDocStatus());
assertEquals(DocAction.STATUS_Drafted, order.getDocStatus());
rollback();