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:
parent
10771a7408
commit
fb67a8f375
|
@ -87,7 +87,7 @@ public class SalesOrderTest extends AbstractTestCase {
|
||||||
ProcessInfo info = MWorkflow.runDocumentActionWorkflow(order, DocAction.ACTION_Complete);
|
ProcessInfo info = MWorkflow.runDocumentActionWorkflow(order, DocAction.ACTION_Complete);
|
||||||
order.load(getTrxName());
|
order.load(getTrxName());
|
||||||
assertTrue(info.isError());
|
assertTrue(info.isError());
|
||||||
assertEquals(DocAction.STATUS_Invalid, order.getDocStatus());
|
assertEquals(DocAction.STATUS_Drafted, order.getDocStatus());
|
||||||
|
|
||||||
rollback();
|
rollback();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue