mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-19 07:53:08 +00:00
DS-4351 Upgrade spring (boot) & hibernate to newer versions: Fixing issues with the latest master merge & fixing the tests
This commit is contained in:
@@ -262,9 +262,6 @@ public class RelationshipServiceImplTest {
|
||||
.thenReturn(leftTypelist);
|
||||
when(relationshipService.findByItemAndRelationshipType(context, rightItem, testRel, false))
|
||||
.thenReturn(rightTypelist);
|
||||
when(itemService.getMetadata(leftItem, "relationship", "type", null, Item.ANY)).thenReturn(metsList);
|
||||
when(itemService.getMetadata(rightItem, "relationship", "type", null, Item.ANY)).thenReturn(metsList);
|
||||
when(relationshipDAO.create(any(), any())).thenReturn(relationship);
|
||||
when(relationshipService.find(context,0)).thenReturn(relationship);
|
||||
|
||||
// Invoke delete()
|
||||
|
Reference in New Issue
Block a user