mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-16 17:55:15 +00:00
Test uses ApplicationContextHelper to load single context
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5728 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
parent
d69da227ca
commit
1b10c9dad0
@ -86,8 +86,8 @@ import org.alfresco.service.namespace.NamespaceService;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
import org.alfresco.service.namespace.RegexQNamePattern;
|
||||
import org.alfresco.service.transaction.TransactionService;
|
||||
import org.alfresco.util.ApplicationContextHelper;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
import org.springframework.util.StopWatch;
|
||||
|
||||
/**
|
||||
@ -98,7 +98,7 @@ public class RuleServiceCoverageTest extends TestCase
|
||||
/**
|
||||
* Application context used during the test
|
||||
*/
|
||||
static ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath:alfresco/application-context.xml");
|
||||
static ApplicationContext applicationContext = ApplicationContextHelper.getApplicationContext();
|
||||
|
||||
/**
|
||||
* Services used during the tests
|
||||
|
Loading…
x
Reference in New Issue
Block a user