mirror of
https://git.victorphan.net/basketballcantho/Teedy_custom.git
synced 2026-08-05 14:03:10 +07:00
Returns correct file variation from /file/id/data
This commit is contained in:
@@ -416,6 +416,6 @@ public class TestDocumentResource extends BaseJerseyTest {
|
||||
Assert.assertEquals(Status.OK, Status.fromStatusCode(response.getStatus()));
|
||||
InputStream is = response.getEntityInputStream();
|
||||
byte[] fileBytes = ByteStreams.toByteArray(is);
|
||||
Assert.assertEquals(3457, fileBytes.length);
|
||||
Assert.assertEquals(33691, fileBytes.length);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user