mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
80701: Merged WAT1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud) 78593: First attempt at fixing FacetRestApiTest to run in bamboo. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82999 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -77,6 +77,7 @@ public class FacetRestApiTest extends BaseWebScriptTest
|
||||
personService = getServer().getApplicationContext().getBean("PersonService", PersonService.class);
|
||||
transactionHelper = getServer().getApplicationContext().getBean("retryingTransactionHelper", RetryingTransactionHelper.class);
|
||||
|
||||
AuthenticationUtil.clearCurrentSecurityContext();
|
||||
// Create test users. TODO Create these users @BeforeClass or at a testsuite scope.
|
||||
AuthenticationUtil.runAsSystem(new RunAsWork<Void>()
|
||||
{
|
||||
@@ -128,6 +129,7 @@ public class FacetRestApiTest extends BaseWebScriptTest
|
||||
return null;
|
||||
}
|
||||
});
|
||||
AuthenticationUtil.clearCurrentSecurityContext();
|
||||
}
|
||||
|
||||
public void testNonSearchAdminUserCannotCreateUpdateSolrFacets() throws Exception
|
||||
|
Reference in New Issue
Block a user