mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged 5.2.N (5.2.1) to HEAD (5.2)
129180 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1) 128642 jvonka: V1 REST API: cleanup and rationalise new api tests (re: remotable helpers & runAs user / admin) - round 5b - fix test fallout REPO-113 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129354 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -60,19 +60,18 @@ public class ModulePackagesApiTest extends AbstractBaseApiTest
|
||||
@Before
|
||||
public void setup() throws Exception
|
||||
{
|
||||
nonAdminUserName = createUser("nonAdminUser" + System.currentTimeMillis());
|
||||
networkOne = null; // used by setRequestContext
|
||||
|
||||
// used-by teardown to cleanup
|
||||
authenticationService = applicationContext.getBean("authenticationService", MutableAuthenticationService.class);
|
||||
personService = applicationContext.getBean("personService", PersonService.class);
|
||||
users.add(nonAdminUserName);
|
||||
nonAdminUserName = createUser("nonAdminUser" + System.currentTimeMillis(), "password", null);
|
||||
|
||||
// used-by teardown (deleteUser) to cleanup
|
||||
//users.add(nonAdminUserName);
|
||||
}
|
||||
|
||||
@After
|
||||
public void tearDown() throws Exception
|
||||
{
|
||||
// TODO rationalise createUser & deleteUser
|
||||
super.tearDown();
|
||||
deleteUser(nonAdminUserName, networkOne);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user