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=2d9d4a33d076fc3edc228d8faab69d76dc2dfa7c;hb=bb7dcf7024a5918e72e2035312205f726189a2c4;hp=4f221b0ae1663bab8c1fd673c515ec1bb80c631a;hpb=ab45c6b32ceb44d7f4a3bc8340eda45a439fc470;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 4f221b0ae1..2d9d4a33d0 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 @@ -30,7 +30,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.Draft11; +import org.opendaylight.restconf.Draft15; import org.opendaylight.restconf.handlers.DOMMountPointServiceHandler; import org.opendaylight.restconf.handlers.SchemaContextHandler; import org.opendaylight.restconf.utils.RestconfConstants; @@ -194,8 +194,8 @@ class RestconfModulesServiceTestUtils { when(schemaContext.findModuleByNamespaceAndRevision(any(URI.class), any(Date.class))).thenAnswer(invocation -> { final Object[] args = invocation.getArguments(); - if (args[0] == Draft11.RestconfModule.IETF_RESTCONF_QNAME.getNamespace() - && args[1] == Draft11.RestconfModule.IETF_RESTCONF_QNAME.getRevision()) { + if (args[0] == Draft15.RestconfModule.IETF_RESTCONF_QNAME.getNamespace() + && args[1] == Draft15.RestconfModule.IETF_RESTCONF_QNAME.getRevision()) { return parseCustomRestconfSource(restconfModuleName).findModuleByName( restconfModuleName, (Date) args[1]); } else {