Fix for NorthboundIT test failure 10/1010/1
authorPramila Singh <pramisin@cisco.com>
Mon, 26 Aug 2013 20:36:27 +0000 (13:36 -0700)
committerPramila Singh <pramisin@cisco.com>
Mon, 26 Aug 2013 20:37:19 +0000 (13:37 -0700)
Change-Id: I0d3c2216bf2cdb9ba23b186307ad49b8f2b36184
Signed-off-by: Pramila Singh <pramisin@cisco.com>
opendaylight/northbound/integrationtest/src/test/java/org/opendaylight/controller/northbound/integrationtest/NorthboundIT.java

index 76974d7541d5994631e979db74e87ced20709054..dfc4b4978ae2114d0a2c6815e79b37ed5c7c41bf 100644 (file)
@@ -489,9 +489,9 @@ public class NorthboundIT {
         // 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");
-        Assert.assertEquals(200, httpResponseCode.intValue());
+        Assert.assertEquals(201, httpResponseCode.intValue());
 
         // Test for first node
         result = getJsonResult(baseURL + "nodes");