mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Feature/repo 2793 efficient ts (#7)
* REPO-2793: refactoring the tests in the test suites so we can get more efficient and balanced Test Suites * REPO-2793: cleanup and renames * REPO-2793: fix the Virtual Folder tests that was failing on bamboo * REPO-2793: fix some rendition tests on the build by running them earlier * REPO-2793: fix the test testAR1303. It needed some cleanup
This commit is contained in:
@@ -120,7 +120,7 @@ public class ImapServiceImplTest extends TestCase
|
||||
private static final String MAILBOX_NAME_B = "mailbox_b";
|
||||
private static final String MAILBOX_PATTERN = "mailbox*";
|
||||
|
||||
private static ApplicationContext ctx = ApplicationContextHelper.getApplicationContext();
|
||||
private ApplicationContext ctx;
|
||||
private TransactionService transactionService;
|
||||
private NodeService nodeService;
|
||||
private ImporterService importerService;
|
||||
@@ -143,7 +143,8 @@ public class ImapServiceImplTest extends TestCase
|
||||
|
||||
@Override
|
||||
public void setUp() throws Exception
|
||||
{
|
||||
{
|
||||
ctx = ApplicationContextHelper.getApplicationContext();
|
||||
ServiceRegistry serviceRegistry = (ServiceRegistry) ctx.getBean("ServiceRegistry");
|
||||
transactionService = serviceRegistry.getTransactionService();
|
||||
nodeService = serviceRegistry.getNodeService();
|
||||
|
Reference in New Issue
Block a user