AdminDeleteUserControllerTest AdminDeleteUserControllerTest(
$methodName
)
|
|
Parameters:
void testDeleteActiveUser(
)
|
|
Try to delete the active user (this will fail silently)
void testDeleteAnonymousUser(
)
|
|
Try to delete the anonymous user (this will fail silently)
Create and delete a user, no items created/deleted
void testDeleteUserAndAssignItemsToAnonymousUser(
)
|
|
Try to delete a user and assign items to anonymous user
void testDeleteUserAndAssignItemsToNonexistentUser(
)
|
|
Try to delete a user and assign items to nonexistent userName
void testDeleteUserAndAssignItemsToSameUser(
)
|
|
Try to delete a user and assign items to nonexistent userName
void testDeleteUserDeleteItemWithDirectPermission(
)
|
|
Create a user, add 1 item, delete the user and the item
void testDeleteUserDeleteItemWithoutPermission(
)
|
|
Create a user, add 1 item, delete the user
The user doesn't have the permission to delete the item The item should have a new owner, Site Admin
void testDeleteUserNewOwnerForItem(
)
|
|
Create a user, add 1 subalbum, add another user, delete the user
with variant "assign all items to a new owner"
void _markUserForCleanup(
$user
)
|
|
Parameters:
void _verifyMissingAll(
$userId
)
|
|
All Delete requests have in common that the user,
all his permissions and his group mappings should be gone
Parameters: