mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-09 11:03:12 +00:00
new testDeleteBitstreamAndUnsetPrimaryBitstreamID remove unnecessary stubs
(cherry picked from commit a3e506c7f4
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
41640bbb65
commit
68e8894169
@@ -447,10 +447,6 @@ public class BitstreamTest extends AbstractDSpaceObjectTest {
|
||||
Item item = installItemService.installItem(context, workspaceItem);
|
||||
Bundle b = bundleService.create(context, item, "TESTBUNDLE");
|
||||
|
||||
// Allow Item WRITE permissions
|
||||
doNothing().when(authorizeServiceSpy).authorizeAction(context, item, Constants.WRITE);
|
||||
// Allow Bundle ADD permissions
|
||||
doNothing().when(authorizeServiceSpy).authorizeAction(context, b, Constants.ADD);
|
||||
// Allow Bundle REMOVE permissions
|
||||
doNothing().when(authorizeServiceSpy).authorizeAction(context, b, Constants.REMOVE);
|
||||
// Allow Bitstream WRITE permissions
|
||||
|
Reference in New Issue
Block a user