mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
57055: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3) 56523: Merged HEAD-BUG-FIX to V4.2-BUG-FIX (4.2.1) 56443: (MNT-9756) ALF-19225: Made post feeds cleanup to be executed in the unit test tear down method, to clean Pending, Error and etc. feeds. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61689 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -155,6 +155,7 @@ public class SubscriptionServiceActivitiesTest
|
||||
{
|
||||
// We put the scheduler in standby mode BeforeClass. Now we must restore it.
|
||||
QUARTZ_SCHEDULER.start();
|
||||
AuthenticationUtil.clearCurrentSecurityContext();
|
||||
}
|
||||
|
||||
@Before public void createTestSites() throws Exception
|
||||
@@ -171,6 +172,7 @@ public class SubscriptionServiceActivitiesTest
|
||||
modSite2 = testSites.createSite("sitePreset", "mod2" + guid, "", "", SiteVisibility.MODERATED, ADMIN);
|
||||
log.debug("Created some test sites...");
|
||||
|
||||
AuthenticationUtil.clearCurrentSecurityContext();
|
||||
// test site cleanup is handled automatically by the JUnit Rule.
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user