From 4bff1528f42ea5705a02cc8ba5c08bf2453b31f1 Mon Sep 17 00:00:00 2001 From: Tomasz Wrobel Date: Mon, 22 Mar 2021 16:07:38 +0100 Subject: Fix Sonar issues - Remove blank characters from input data on validation service - Add NOSONAR to test application context Issue-ID: SDC-3185 Signed-off-by: Tomasz Wrobel Change-Id: I3a8c3cdf447a2ffa49ee1c961fd73229144349b8 --- .../java/org/onap/sdc/helmvalidator/HelmValidatorApplicationTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/test/java') diff --git a/src/test/java/org/onap/sdc/helmvalidator/HelmValidatorApplicationTests.java b/src/test/java/org/onap/sdc/helmvalidator/HelmValidatorApplicationTests.java index 5b81936..5efbedc 100644 --- a/src/test/java/org/onap/sdc/helmvalidator/HelmValidatorApplicationTests.java +++ b/src/test/java/org/onap/sdc/helmvalidator/HelmValidatorApplicationTests.java @@ -27,7 +27,8 @@ import org.springframework.boot.test.context.SpringBootTest; class HelmValidatorApplicationTests { @Test - void contextLoads() { + // This method check Spring context load - it no requires assertion (Sonar rule java:S2699) + void contextLoads() { // NOSONAR } } -- cgit 1.2.3-korg