X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=restconf%2Frestconf-nb-bierman02%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frestconf%2Fimpl%2Ftest%2FRestconfImplTest.java;h=ff3c32335fa94252727b75f104d2ac1a44f7aa0b;hb=743b20ba20032dc09f992e9c381da8c866657af8;hp=552850396e72f1d20ad573cb4fc945de3e49d035;hpb=ad6ad5cb7f1e12e53e986c271286679facf24c84;p=netconf.git diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/RestconfImplTest.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/RestconfImplTest.java index 552850396e..ff3c32335f 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/RestconfImplTest.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/RestconfImplTest.java @@ -174,7 +174,7 @@ public class RestconfImplTest { final RpcDefinition schemaNode = mock(RpcDefinition.class); doReturn(mock(SchemaPath.class)).when(schemaNode).getPath(); - doReturn(new InstanceIdentifierContext(null, schemaNode, null, null)).when(payload) + doReturn(InstanceIdentifierContext.ofLocalRpc(schemaContext, schemaNode)).when(payload) .getInstanceIdentifierContext(); doReturn(QName.create("urn:opendaylight:params:xml:ns:yang:controller:md:sal:remote",