mirror of
https://github.com/sismics/docs.git
synced 2024-12-22 03:13:48 +01:00
Fix document resource jUnit
This commit is contained in:
parent
c9fdb6def5
commit
21495f4509
@ -71,7 +71,7 @@ public class TestDocumentResource extends BaseJerseyTest {
|
||||
response = documentResource.post(ClientResponse.class, postParams);
|
||||
Assert.assertEquals(Status.OK, Status.fromStatusCode(response.getStatus()));
|
||||
json = response.getEntity(JSONObject.class);
|
||||
Assert.assertEquals("ok", json.getString("status"));
|
||||
Assert.assertEquals(document1Id, json.getString("id"));
|
||||
|
||||
// Get a document
|
||||
documentResource = resource().path("/document/" + document1Id);
|
||||
|
Loading…
Reference in New Issue
Block a user