1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-16 03:06:22 +00:00

Returns correct file variation from /file/id/data

This commit is contained in:
jendib
2013-08-18 13:52:29 +02:00
parent d3f59554f8
commit 77c5a10aba
2 changed files with 3 additions and 5 deletions

View File

@@ -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);
}
}