Skip to content

Commit

Permalink
MODE-1672 - Minor test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Horia Chiorean committed Oct 11, 2012
1 parent 05a6aba commit 2df6e77
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -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();
Expand Down

0 comments on commit 2df6e77

Please sign in to comment.