diff --git a/product/ERP5/tests/testAccounting.py b/product/ERP5/tests/testAccounting.py index bca0f977ce9f59e7799dc348f35b48064557d59b..db7b39a6a49e027ea97bf1524225be5f12e732f0 100644 --- a/product/ERP5/tests/testAccounting.py +++ b/product/ERP5/tests/testAccounting.py @@ -636,6 +636,10 @@ class TestTransactionValidation(AccountingTestCase): self.assertEquals('confirmed', transaction.getSimulationState()) self.assertTrue(_checkPermission('Modify portal content', transaction)) + doActionFor(transaction, 'start_action') + self.assertEquals('started', transaction.getSimulationState()) + self.assertTrue(_checkPermission('Modify portal content', transaction)) + doActionFor(transaction, 'stop_action') self.assertEquals('stopped', transaction.getSimulationState()) self.assertFalse(_checkPermission('Modify portal content', transaction))