From ab62a48f1f92e7accaa1d371622a6609406c4be4 Mon Sep 17 00:00:00 2001 From: Roy Wetherall Date: Wed, 15 Feb 2006 21:46:19 +0000 Subject: [PATCH] - Build fix git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2396 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../java/org/alfresco/repo/rule/RuleServiceCoverageTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/java/org/alfresco/repo/rule/RuleServiceCoverageTest.java b/source/java/org/alfresco/repo/rule/RuleServiceCoverageTest.java index 2fda39a4b6..5cf83e3703 100644 --- a/source/java/org/alfresco/repo/rule/RuleServiceCoverageTest.java +++ b/source/java/org/alfresco/repo/rule/RuleServiceCoverageTest.java @@ -775,6 +775,9 @@ public class RuleServiceCoverageTest extends TestCase //System.out.println(NodeStoreInspector.dumpNodeStore(this.nodeService, this.testStoreRef)); + AuthenticationComponent authenticationComponent = (AuthenticationComponent)applicationContext.getBean("authenticationComponent"); + authenticationComponent.setCurrentUser(authenticationComponent.getSystemUserName()); + // Check that the created node is still there List origRefs = this.nodeService.getChildAssocs( this.nodeRef,