From 87e7d062dda60f63957bccaf94df78633b525ac0 Mon Sep 17 00:00:00 2001 From: Michal Duda Date: Wed, 26 Jun 2019 10:19:48 +0200 Subject: SONAR-12023 Remove "Not OWASP" CWE mapping, and move all unmapped CWEs to "Others" (SonarSource Security) --- .../org/sonar/server/issue/index/IssueIndexSecurityReportsTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'server/sonar-server/src/test/java') diff --git a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexSecurityReportsTest.java b/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexSecurityReportsTest.java index d4d757b87e0..577c835d490 100644 --- a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexSecurityReportsTest.java +++ b/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexSecurityReportsTest.java @@ -218,8 +218,7 @@ public class IssueIndexSecurityReportsTest { tuple("a7", 0L, OptionalInt.empty(), 0L, 0L, 0L), tuple("a8", 0L, OptionalInt.empty(), 0L, 0L, 1L /* reviewedHotspot */), tuple("a9", 0L, OptionalInt.empty(), 0L, 0L, 0L), - tuple("a10", 0L, OptionalInt.empty(), 0L, 0L, 0L), - tuple("unknown", 1L /* notowaspvul */, OptionalInt.of(4) /* CRITICAL = D */, 1L /* notowasphotspot */, 0L, 0L)); + tuple("a10", 0L, OptionalInt.empty(), 0L, 0L, 0L)); return owaspTop10Report; } -- cgit v1.2.3