From c69b37ae471d0671870ad6a91014fa1688de611b Mon Sep 17 00:00:00 2001 From: Bartosz Gardziejewski Date: Fri, 14 Feb 2020 07:59:56 +0100 Subject: Suppress irrelevant Sonar warnings Issue-ID: AAF-995 Signed-off-by: Bartosz Gardziejewski Change-Id: Id9181ccbf2e3e534f5f9c808924b174c1c86ce2f --- .../java/org/onap/aaf/certservice/CertServiceApplicationTests.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'certService/src/test') diff --git a/certService/src/test/java/org/onap/aaf/certservice/CertServiceApplicationTests.java b/certService/src/test/java/org/onap/aaf/certservice/CertServiceApplicationTests.java index fe2dcfe2..ae284da3 100644 --- a/certService/src/test/java/org/onap/aaf/certservice/CertServiceApplicationTests.java +++ b/certService/src/test/java/org/onap/aaf/certservice/CertServiceApplicationTests.java @@ -27,7 +27,8 @@ import org.springframework.boot.test.context.SpringBootTest; class CertServiceApplicationTests { @Test - void contextLoads() { + // We are excluding this line in Sonar due to fact that + // this test checks if Spring context is loaded and does not require assertion + void contextLoads() { // NOSONAR } - } -- cgit 1.2.3-korg