ItemDeleteSingleControllerTest ItemDeleteSingleControllerTest(
$methodName
)
|
|
Parameters:
Create a random album and verify that we can delete it.
void testDeleteBogusItem(
)
|
|
Test deleting a random item that doesn't exist. We should get a
permission denied (since the permission check happens before we even verify that it's a valid item to prevent information leakage)
Create a random item and verify that we can delete it and stay on the same page
void testDeleteItemWithoutPermission(
)
|
|
Verify that we can't delete items without the right permissions
void testDeletePageItem(
)
|
|
Create a random item and verify that we can delete it and move to the parent page
void testDeleteRootAlbum(
)
|
|
Test deleting the root album. We should get a bad parameter error