Merged BRANCHES/V3.4 to HEAD:

23857: Add in UserTransactions to a few places that now need it, to fix webscript unit test
   23859: Add in UserTransactions to a few places that now need it, to fix webscript unit test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2010-11-22 16:07:50 +00:00
parent 15a9a0404f
commit 90da842035
2 changed files with 12 additions and 0 deletions

View File

@@ -216,7 +216,10 @@ public class RunningActionRestApiTest extends BaseWebScriptTest
// Remove one, check it goes
UserTransaction txn = transactionService.getUserTransaction();
txn.begin();
actionTrackingService.recordActionComplete(rd);
txn.commit();
has1 = false;
has2 = false;
has3 = false;
@@ -509,7 +512,10 @@ public class RunningActionRestApiTest extends BaseWebScriptTest
// Remove one, check it goes
UserTransaction txn = transactionService.getUserTransaction();
txn.begin();
actionTrackingService.recordActionComplete(rd);
txn.commit();
has1 = false;
has2 = false;
has3 = false;