Skip to content

Commit

Permalink
106812: Fix compile issue due to new test
Browse files Browse the repository at this point in the history
  • Loading branch information
YanaDePauw committed Feb 15, 2024
1 parent 24cd784 commit 4942fd2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2936,7 +2936,7 @@ public void specificEmbedTestMultipleLevelOfLinksWithData() throws Exception {
BitstreamMatcher.matchBitstreamEntryWithoutEmbed(bitstream2.getID(), bitstream2.getSizeBytes())
)))
.andExpect(jsonPath("$._embedded.owningCollection._embedded.mappedItems." +
"_embedded.mappedItems[0]_embedded.relationships").doesNotExist())
"_embedded.mappedItems[0]._embedded.relationships").doesNotExist())
.andExpect(jsonPath("$._embedded.owningCollection._embedded.mappedItems" +
"._embedded.mappedItems[0]._embedded.bundles._embedded.bundles[0]." +
"_embedded.primaryBitstream").doesNotExist())
Expand Down Expand Up @@ -3045,8 +3045,7 @@ public void testHiddenMetadataForUserWithReadRights() throws Exception {
context.restoreAuthSystemState();


ResourcePolicyBuilder.createResourcePolicy(context)
.withUser(eperson)
ResourcePolicyBuilder.createResourcePolicy(context, eperson, null)
.withAction(READ)
.withDspaceObject(item)
.build();
Expand Down

0 comments on commit 4942fd2

Please sign in to comment.