ItemDeleteControllerTest ItemDeleteControllerTest(
$methodName
)
|
|
Parameters:
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 album and verify that we can delete it.
void testDeleteMultipleItems(
)
|
|
Create a random album and verify that we can delete multiple items
void testDeleteMultipleItemsWithoutPermission(
)
|
|
try to delete a bunch of items some of which we don't have permission
to do so
void testDeleteNextPageOutOfRange(
)
|
|
void testDeletePreviousPageOutOfRange(
)
|
|
void testDeleteRootAlbum(
)
|
|
Test deleting the root album We should get a bad parameter error