From f0f534fd7011932090e29f163cac982710bbf532 Mon Sep 17 00:00:00 2001 From: Lynn Shi Date: Mon, 1 Feb 2021 12:51:32 -0500 Subject: [PATCH] WIFI-1397 fix unit test --- .../integration/utils/RealtimeEventPublisherTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/opensync-ext-cloud/src/test/java/com/telecominfraproject/wlan/opensync/external/integration/utils/RealtimeEventPublisherTest.java b/opensync-ext-cloud/src/test/java/com/telecominfraproject/wlan/opensync/external/integration/utils/RealtimeEventPublisherTest.java index 8b06d65..6f5ac73 100644 --- a/opensync-ext-cloud/src/test/java/com/telecominfraproject/wlan/opensync/external/integration/utils/RealtimeEventPublisherTest.java +++ b/opensync-ext-cloud/src/test/java/com/telecominfraproject/wlan/opensync/external/integration/utils/RealtimeEventPublisherTest.java @@ -30,6 +30,8 @@ import com.telecominfraproject.wlan.client.models.events.utils.WlanStatusCode; import com.telecominfraproject.wlan.cloudeventdispatcher.CloudEventDispatcherInterface; import com.telecominfraproject.wlan.equipment.EquipmentServiceInterface; import com.telecominfraproject.wlan.opensync.external.integration.OpensyncExternalIntegrationCloud; +import com.telecominfraproject.wlan.profile.ProfileServiceInterface; + import sts.OpensyncStats.EventReport.DhcpNakEvent; import sts.OpensyncStats.EventReport.DhcpOfferEvent; import sts.OpensyncStats.EventReport.DhcpRequestEvent; @@ -57,6 +59,9 @@ public class RealtimeEventPublisherTest { @MockBean private EquipmentServiceInterface equipmentServiceInterface; + + @MockBean + private ProfileServiceInterface profileServiceInterface; @Autowired RealtimeEventPublisher realtimeEventPublisher;