mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
update method names
This commit is contained in:
@@ -292,7 +292,7 @@ public class AuditAddToHoldTests extends BaseRMRestTest
|
||||
}
|
||||
|
||||
@AfterClass (alwaysRun = true)
|
||||
public void cleanUpAuditHoldTests()
|
||||
public void cleanUpAuditAddToHoldTests()
|
||||
{
|
||||
holdsList.forEach(hold -> holdsAPI.deleteHold(getAdminUser().getUsername(), getAdminUser().getPassword(), hold));
|
||||
dataSite.usingAdmin().deleteSite(privateSite);
|
||||
|
@@ -186,7 +186,7 @@ public class AuditCreateHoldTests extends BaseRMRestTest
|
||||
}
|
||||
|
||||
@AfterClass (alwaysRun = true)
|
||||
public void cleanUpAuditHoldTests()
|
||||
public void cleanUpAuditCreateHoldTests()
|
||||
{
|
||||
asList(HOLD1, HOLD2, HOLD3).forEach(hold ->
|
||||
holdsAPI.deleteHold(getAdminUser().getUsername(), getAdminUser().getPassword(), hold));
|
||||
|
@@ -161,7 +161,7 @@ public class AuditDeleteHoldTests extends BaseRMRestTest
|
||||
}
|
||||
|
||||
@AfterClass (alwaysRun = true)
|
||||
public void cleanUpAuditHoldTests()
|
||||
public void cleanUpAuditDeleteHoldTests()
|
||||
{
|
||||
holdsAPI.deleteHold(getAdminUser().getUsername(), getAdminUser().getPassword(), HOLD);
|
||||
asList(rmAdmin, rmManager).forEach(user -> getDataUser().usingAdmin().deleteUser(user));
|
||||
|
@@ -82,7 +82,7 @@ public class AuditRemoveFromHoldTests extends BaseRMRestTest
|
||||
private FileModel heldContent;
|
||||
|
||||
@BeforeClass (alwaysRun = true)
|
||||
public void createAuditHoldTestsPrecondition() throws Exception
|
||||
public void preconditionForAuditRemoveFromHoldTests() throws Exception
|
||||
{
|
||||
STEP("Create an user with full rights to remove content from a hold.");
|
||||
rmAdmin = roleService.createUserWithRMRole(UserRoles.ROLE_RM_ADMIN.roleId);
|
||||
@@ -327,7 +327,7 @@ public class AuditRemoveFromHoldTests extends BaseRMRestTest
|
||||
}
|
||||
|
||||
@AfterClass (alwaysRun = true)
|
||||
public void cleanUpAuditHoldTests()
|
||||
public void cleanUpAuditRemoveFromHoldTests()
|
||||
{
|
||||
holdsList.forEach(hold -> holdsAPI.deleteHold(getAdminUser().getUsername(), getAdminUser().getPassword(), hold));
|
||||
dataSite.usingAdmin().deleteSite(privateSite);
|
||||
|
Reference in New Issue
Block a user