Skip to content

Commit

Permalink
Change start of range so that it'll trigger 416
Browse files Browse the repository at this point in the history
  • Loading branch information
bbpennel committed Sep 6, 2024
1 parent cfe22d1 commit 4b5c529
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ public void testRangeExceedsFileLength() throws Exception {
fileObj.addOriginalFile(contentPath.toUri(), "file.txt", "text/plain", null, null);

mvc.perform(get("/file/" + filePid.getId())
.header(RANGE,"bytes=0-900000"))
.header(RANGE,"bytes=900000-900001"))
.andExpect(status().isRequestedRangeNotSatisfiable())
.andReturn();
}
Expand Down

0 comments on commit 4b5c529

Please sign in to comment.