X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=netconf%2Fnetconf-console%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Fconsole%2Fimpl%2FNetconfCommandsImplTest.java;h=83e21cfcd1b8c7de74a6ee695d6fd371e4996b1e;hb=e7149587aacbb9a2afae4f89db6976574588ac47;hp=1ccd575c78096d75b938360f9e679b3256605310;hpb=9c47997b7c185f02e8980cb127a48161aad916e3;p=netconf.git diff --git a/netconf/netconf-console/src/test/java/org/opendaylight/netconf/console/impl/NetconfCommandsImplTest.java b/netconf/netconf-console/src/test/java/org/opendaylight/netconf/console/impl/NetconfCommandsImplTest.java index 1ccd575c78..83e21cfcd1 100644 --- a/netconf/netconf-console/src/test/java/org/opendaylight/netconf/console/impl/NetconfCommandsImplTest.java +++ b/netconf/netconf-console/src/test/java/org/opendaylight/netconf/console/impl/NetconfCommandsImplTest.java @@ -121,8 +121,7 @@ public class NetconfCommandsImplTest { bindingToNormalized.onGlobalContextUpdated(schemaContext); dataBroker = new BindingDOMDataBrokerAdapter(cDOMDataBroker, bindingToNormalized); - final MountPointService mountPointService = mock(MountPointService.class); - netconfCommands = new NetconfCommandsImpl(dataBroker, mountPointService); + netconfCommands = new NetconfCommandsImpl(dataBroker); } @Test @@ -203,6 +202,7 @@ public class NetconfCommandsImplTest { final Map update = new HashMap<>(); update.put(NetconfConsoleConstants.NETCONF_IP, "7.7.7.7"); update.put(NetconfConsoleConstants.TCP_ONLY, "true"); + update.put(NetconfConsoleConstants.SCHEMALESS, "true"); netconfCommands.updateDevice(NODE_ID, "admin", "admin", update); NetconfConsoleUtils.waitForUpdate("7.7.7.7");