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

Force loading of corrupted PDF

This commit is contained in:
jendib
2013-08-18 14:11:08 +02:00
parent 77c5a10aba
commit 2c7083aa43
5 changed files with 9 additions and 9 deletions

View File

@@ -44,7 +44,7 @@ public class TestAppResource extends BaseJerseyTest {
Assert.assertEquals(0, json.getInt("document_count"));
// OCR-ize all files
appResource = resource().path("/app/batch/ocr");
appResource = resource().path("/app/batch/extract");
appResource.addFilter(new CookieAuthenticationFilter(adminAuthenticationToken));
response = appResource.post(ClientResponse.class);
Assert.assertEquals(Status.OK, Status.fromStatusCode(response.getStatus()));