diff options
author | Michael Dürre <michael.duerre@highstreet-technologies.com> | 2020-07-10 05:20:26 +0200 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2020-08-05 11:53:16 +0000 |
commit | 6b1a95c935f58d65cd6148f34b4c151642ff9458 (patch) | |
tree | a40dd2c22d6fde79eefb3eced635aabb91ac9054 /grToolkit/provider/src/test/java | |
parent | ad5c70ad6ab8514c5a5e4ed87d76877b1b451ccd (diff) |
upgrade plugins to sodium
fixed unit test and impl due changes in sodium
Issue-ID: CCSDK-2545
Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com>
Change-Id: I76d00cc9f2af0824536fe428cdd1c5e37f37689e
Diffstat (limited to 'grToolkit/provider/src/test/java')
-rw-r--r-- | grToolkit/provider/src/test/java/org/onap/ccsdk/sli/plugins/grtoolkit/GrToolkitProviderTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/grToolkit/provider/src/test/java/org/onap/ccsdk/sli/plugins/grtoolkit/GrToolkitProviderTest.java b/grToolkit/provider/src/test/java/org/onap/ccsdk/sli/plugins/grtoolkit/GrToolkitProviderTest.java index 3be159598..edd6d1b8d 100644 --- a/grToolkit/provider/src/test/java/org/onap/ccsdk/sli/plugins/grtoolkit/GrToolkitProviderTest.java +++ b/grToolkit/provider/src/test/java/org/onap/ccsdk/sli/plugins/grtoolkit/GrToolkitProviderTest.java @@ -35,7 +35,7 @@ import org.onap.ccsdk.sli.plugins.grtoolkit.data.ClusterActor; import org.opendaylight.controller.cluster.access.concepts.MemberName; import org.opendaylight.controller.cluster.datastore.DistributedDataStoreInterface; -import org.opendaylight.controller.cluster.datastore.utils.ActorContext; +import org.opendaylight.controller.cluster.datastore.utils.ActorUtils; import org.opendaylight.controller.md.sal.binding.api.DataBroker; import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService; import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry; @@ -101,11 +101,11 @@ public class GrToolkitProviderTest { dbLibService = mock(DbLibService.class); connection = mock(DBLibConnection.class); - ActorContext actorContext = mock(ActorContext.class); + ActorUtils actorContext = mock(ActorUtils.class); MemberName memberName = MemberName.forName("Test"); when(actorContext.getCurrentMemberName()).thenReturn(memberName); - when(configDatastore.getActorContext()).thenReturn(actorContext); + when(configDatastore.getActorUtils()).thenReturn(actorContext); try { when(connection.isReadOnly()).thenReturn(false); |