Upgrade lighty to Chlorine
[transportpce.git] / lighty / src / test / java / io / lighty / controllers / tpce / MaintTest.java
index 98abb12dba47b8404d92cd21e9e210b5fbb57593..f3260e38788482bc38196da620316caee2e8a09b 100644 (file)
@@ -49,7 +49,7 @@ public class MaintTest {
     @Test
     public void startNoConfigFileTest() throws Exception {
         main.start(null, false, false, "3000", "2000", true);
-        ContentResponse response = client.GET("http://localhost:8181/restconf/config/ietf-network:networks/network/openroadm-topology");
+        ContentResponse response = client.GET("http://localhost:8181/restconf/data/ietf-network:networks/network=openroadm-topology");
         assertEquals("Response code should be 200", 200, response.getStatus());
     }
 
@@ -57,7 +57,7 @@ public class MaintTest {
     public void startConfigFileTest() throws Exception {
         File configFile = new File("src/test/resources/config.json");
         main.start(configFile.getAbsolutePath(), false, false, "3000", "2000", true);
-        ContentResponse response = client.GET("http://localhost:8888/restconfCustom/config/ietf-network:networks/network/openroadm-topology");
+        ContentResponse response = client.GET("http://localhost:8888/restconfCustom/data/ietf-network:networks/network=openroadm-topology");
         assertEquals("Response code should be 200", 200, response.getStatus());
     }
 }