mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 10:34:25 +00:00

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
55eba18a47
commit
09d5f6fcc9
@@ -517,7 +517,8 @@ public class BundleTest extends AbstractDSpaceObjectTest {
|
|||||||
* Test removeBitstream method and also the unsetPrimaryBitstreamID method, of class Bundle.
|
* Test removeBitstream method and also the unsetPrimaryBitstreamID method, of class Bundle.
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testRemoveBitstreamAuthAndUnsetPrimaryBitstreamID() throws IOException, SQLException, AuthorizeException {
|
public void testRemoveBitstreamAuthAndUnsetPrimaryBitstreamID()
|
||||||
|
throws IOException, SQLException, AuthorizeException {
|
||||||
// Allow Item WRITE permissions
|
// Allow Item WRITE permissions
|
||||||
doNothing().when(authorizeServiceSpy).authorizeAction(context, item, Constants.WRITE);
|
doNothing().when(authorizeServiceSpy).authorizeAction(context, item, Constants.WRITE);
|
||||||
// Allow Bundle ADD permissions
|
// Allow Bundle ADD permissions
|
||||||
|
Reference in New Issue
Block a user