Provide codec Serializer via RibSupport
[bgpcep.git] / bgp / rib-impl / src / test / java / org / opendaylight / protocol / bgp / rib / impl / AddPathNPathsTest.java
index e29d1b9e7e3cd48e25deb1bb175062edbeea7b70..9b70c277d052c4ab4317ffd79defb7c87972df0a 100644 (file)
@@ -47,7 +47,7 @@ public class AddPathNPathsTest extends AbstractAddPathTest {
                 this.peerTracker, TABLES_TYPE,  pathTables);
 
         this.ribImpl.instantiateServiceInstance();
-        this.ribImpl.onGlobalContextUpdated(this.schemaContext);
+        this.ribImpl.onGlobalContextUpdated(this.schemaService.getGlobalContext());
         final ChannelFuture channelFuture = this.serverDispatcher.createServer(new InetSocketAddress(RIB_ID, PORT));
         waitFutureSuccess(channelFuture);
         this.serverChannel = channelFuture.channel();