aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server/src/test/java
diff options
context:
space:
mode:
authorMichal Duda <michal.duda@sonarsource.com>2019-06-26 10:19:48 +0200
committerSonarTech <sonartech@sonarsource.com>2019-06-28 20:21:11 +0200
commit87e7d062dda60f63957bccaf94df78633b525ac0 (patch)
tree2612154cbda08c7f22b72b6779cbcfd9dc1ada01 /server/sonar-server/src/test/java
parentcb7020fd904e098e11fcd6d80f8a548414f59fe3 (diff)
downloadsonarqube-87e7d062dda60f63957bccaf94df78633b525ac0.tar.gz
sonarqube-87e7d062dda60f63957bccaf94df78633b525ac0.zip
SONAR-12023 Remove "Not OWASP" CWE mapping, and move all unmapped CWEs to "Others" (SonarSource Security)
Diffstat (limited to 'server/sonar-server/src/test/java')
-rw-r--r--server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexSecurityReportsTest.java3
1 files changed, 1 insertions, 2 deletions
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;
}