From 4846c92177fb3e437e678c4abdf4733ab0b7a0f2 Mon Sep 17 00:00:00 2001 From: Edyta Krukowska Date: Mon, 12 Oct 2020 13:15:21 +0200 Subject: Add logs from external-repo-manager lib Issue-ID: DCAEGEN2-2478 Signed-off-by: Edyta Krukowska Change-Id: If6f4ab2c8fd9a4bf14e2391acc54eb7b25689e21 --- src/test/java/org/onap/dcae/restapi/VesRestControllerTest.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/test') diff --git a/src/test/java/org/onap/dcae/restapi/VesRestControllerTest.java b/src/test/java/org/onap/dcae/restapi/VesRestControllerTest.java index 5504ca8e..a3c0628d 100644 --- a/src/test/java/org/onap/dcae/restapi/VesRestControllerTest.java +++ b/src/test/java/org/onap/dcae/restapi/VesRestControllerTest.java @@ -27,7 +27,6 @@ import com.networknt.schema.JsonSchema; import io.vavr.collection.HashMap; import org.apache.http.HttpStatus; import org.jetbrains.annotations.NotNull; -import org.json.JSONObject; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; @@ -81,6 +80,9 @@ public class VesRestControllerTest { @Mock private Logger logger; + @Mock + private Logger errorLogger; + @Mock private HeaderUtils headerUtils; @@ -97,7 +99,7 @@ public class VesRestControllerTest { "3GPP-FaultSupervision", new String[]{VES_3_GPP_FAULT_SUPERVISION_TOPIC} ); this.vesRestController = new VesRestController(applicationSettings, logger, - new EventSender(eventPublisher, streamIds), headerUtils, stndDefinedDataValidator); + errorLogger, new EventSender(eventPublisher, streamIds), headerUtils, stndDefinedDataValidator); } @Test -- cgit 1.2.3-korg