Skip to content

Commit 4b5c529

Browse files
committed
Change start of range so that it'll trigger 416
1 parent cfe22d1 commit 4b5c529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-services-app/src/test/java/edu/unc/lib/boxc/web/services/rest/DatastreamRestControllerIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ public void testRangeExceedsFileLength() throws Exception {
407407
fileObj.addOriginalFile(contentPath.toUri(), "file.txt", "text/plain", null, null);
408408

409409
mvc.perform(get("/file/" + filePid.getId())
410-
.header(RANGE,"bytes=0-900000"))
410+
.header(RANGE,"bytes=900000-900001"))
411411
.andExpect(status().isRequestedRangeNotSatisfiable())
412412
.andReturn();
413413
}

0 commit comments

Comments
 (0)