X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=restconf%2Fsal-rest-connector%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Frestconf%2Frest%2Fservices%2Fimpl%2FRestconfModulesServiceTestUtils.java;h=636ebdeab0f098c4936c8f367763bde9d7cf65aa;hb=acbc3139281024824f927426562d25a1f764b34c;hp=1f679643ac08e88a86e4761ca6c64930f9ba55ad;hpb=769c6a00e7aab547706b90a48d780824dac18272;p=netconf.git diff --git a/restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/rest/services/impl/RestconfModulesServiceTestUtils.java b/restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/rest/services/impl/RestconfModulesServiceTestUtils.java index 1f679643ac..636ebdeab0 100644 --- a/restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/rest/services/impl/RestconfModulesServiceTestUtils.java +++ b/restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/rest/services/impl/RestconfModulesServiceTestUtils.java @@ -29,7 +29,7 @@ import org.opendaylight.controller.md.sal.dom.api.DOMMountPointService; import org.opendaylight.controller.md.sal.dom.broker.impl.mount.DOMMountPointServiceImpl; import org.opendaylight.controller.md.sal.dom.broker.spi.mount.SimpleDOMMountPoint; import org.opendaylight.controller.md.sal.rest.common.TestRestconfUtils; -import org.opendaylight.restconf.Draft16; +import org.opendaylight.restconf.Draft17; import org.opendaylight.restconf.handlers.DOMMountPointServiceHandler; import org.opendaylight.restconf.handlers.SchemaContextHandler; import org.opendaylight.restconf.utils.RestconfConstants; @@ -193,8 +193,8 @@ class RestconfModulesServiceTestUtils { when(schemaContext.findModuleByNamespaceAndRevision(any(URI.class), any(Date.class))).thenAnswer(invocation -> { final Object[] args = invocation.getArguments(); - if ((args[0] == Draft16.RestconfModule.IETF_RESTCONF_QNAME.getNamespace()) - && (args[1] == Draft16.RestconfModule.IETF_RESTCONF_QNAME.getRevision())) { + if ((args[0] == Draft17.RestconfModule.IETF_RESTCONF_QNAME.getNamespace()) + && (args[1] == Draft17.RestconfModule.IETF_RESTCONF_QNAME.getRevision())) { return parseCustomRestconfSource(restconfModuleName).findModuleByName( restconfModuleName, (Date) args[1]); } else {