import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
import org.opendaylight.yangtools.yang.common.QName;
import org.opendaylight.yangtools.yang.common.RpcResult;
+import org.opendaylight.yangtools.yang.model.api.SchemaContext;
import static org.junit.Assert.*;
return transaction.commit();
}
});
- mappingServiceImpl.onGlobalContextUpdated(getContext(getAllModelFilenames()));
+ SchemaContext ctx = getContext(getAllModelFilenames());
+ schemaAwareDataStore.onGlobalContextUpdated(ctx);
+ mappingServiceImpl.onGlobalContextUpdated(ctx);
RpcResult<TransactionStatus> result = future.get().get();
assertEquals(TransactionStatus.COMMITED, result.getResult());