Change-Id: I0d3c2216bf2cdb9ba23b186307ad49b8f2b36184
Signed-off-by: Pramila Singh <pramisin@cisco.com>
// Test add property to node
// Add Tier and Description property to node1
result = getJsonResult(baseURL + "node/STUB/" + nodeId_1 + "/property/tier/1001", "PUT");
// Test add property to node
// Add Tier and Description property to node1
result = getJsonResult(baseURL + "node/STUB/" + nodeId_1 + "/property/tier/1001", "PUT");
- Assert.assertEquals(200, httpResponseCode.intValue());
+ Assert.assertEquals(201, httpResponseCode.intValue());
result = getJsonResult(baseURL + "node/STUB/" + nodeId_1 + "/property/description/node1", "PUT");
result = getJsonResult(baseURL + "node/STUB/" + nodeId_1 + "/property/description/node1", "PUT");
- Assert.assertEquals(200, httpResponseCode.intValue());
+ Assert.assertEquals(201, httpResponseCode.intValue());
// Test for first node
result = getJsonResult(baseURL + "nodes");
// Test for first node
result = getJsonResult(baseURL + "nodes");