diff options
author | Edyta Krukowska <edyta.krukowska@nokia.com> | 2020-10-12 13:15:21 +0200 |
---|---|---|
committer | Edyta Krukowska <edyta.krukowska@nokia.com> | 2020-10-16 09:11:59 +0000 |
commit | 4846c92177fb3e437e678c4abdf4733ab0b7a0f2 (patch) | |
tree | f98b7970b90f13ae5c0edefaac473e66668d193f /src/test/java/org | |
parent | 72c913d96d76ecce08a92e3794b22e4e6e88a85f (diff) |
Add logs from external-repo-manager lib
Issue-ID: DCAEGEN2-2478
Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com>
Change-Id: If6f4ab2c8fd9a4bf14e2391acc54eb7b25689e21
Diffstat (limited to 'src/test/java/org')
-rw-r--r-- | src/test/java/org/onap/dcae/restapi/VesRestControllerTest.java | 6 |
1 files changed, 4 insertions, 2 deletions
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; @@ -82,6 +81,9 @@ public class VesRestControllerTest { private Logger logger; @Mock + private Logger errorLogger; + + @Mock private HeaderUtils headerUtils; @Mock @@ -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 |