diff --git a/web/modeshape-web-jcr-rest-war/src/test/java/org/modeshape/web/jcr/rest/ModeShapeRestServiceTest.java b/web/modeshape-web-jcr-rest-war/src/test/java/org/modeshape/web/jcr/rest/ModeShapeRestServiceTest.java index ad593e16e4..a9106d8fdd 100644 --- a/web/modeshape-web-jcr-rest-war/src/test/java/org/modeshape/web/jcr/rest/ModeShapeRestServiceTest.java +++ b/web/modeshape-web-jcr-rest-war/src/test/java/org/modeshape/web/jcr/rest/ModeShapeRestServiceTest.java @@ -404,11 +404,11 @@ public void shouldGetNodeByIdentifier() throws Exception { Response response = doPost((String)null, itemsUrl(TEST_NODE)).isCreated(); String id = response.hasNodeIdentifier(); // Get by ID ... - response = doGet(nodesUrl(id)).isJSONObjectLike(response); + doGet(nodesUrl(id)).isJSONObjectLike(response); // Update by ID ... - response = doPut("v2/put/node_with_binary_property.json", nodesUrl(id)).isOk() - .isJSONObjectLikeFile("v2/put/node_with_binary_property_after_edit.json"); + doPut(nodeWithBinaryProperty(), nodesUrl(id)).isOk().isJSONObjectLikeFile( + nodeBinaryPropertyAfterEdit()); // Delete by ID ... doDelete(nodesUrl(id)).isDeleted();