aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/test
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-08-26 14:57:51 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-08-26 15:12:30 +0200
commit0629a1049e4c0b022cb8bcc5def2c4ffc4a6916c (patch)
tree4348386a5dbfd710ed5f7ac14cb843d6288d10f7 /server/sonar-web/src/test
parentd42ad40824b6b8739cf68a97f59ff331c46588a2 (diff)
downloadsonarqube-0629a1049e4c0b022cb8bcc5def2c4ffc4a6916c.tar.gz
sonarqube-0629a1049e4c0b022cb8bcc5def2c4ffc4a6916c.zip
fix SONAR-6249 Non favorite issue filters cannot be loaded by Issues page
Diffstat (limited to 'server/sonar-web/src/test')
-rw-r--r--server/sonar-web/src/test/json/issues-spec/issue-filters.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/server/sonar-web/src/test/json/issues-spec/issue-filters.json b/server/sonar-web/src/test/json/issues-spec/issue-filters.json
new file mode 100644
index 00000000000..a4eb6979edd
--- /dev/null
+++ b/server/sonar-web/src/test/json/issues-spec/issue-filters.json
@@ -0,0 +1,31 @@
+{
+ "issueFilters": [
+ {
+ "id": "1",
+ "name": "Unresolved Issues",
+ "user": "[SonarQube]",
+ "shared": true,
+ "query": "resolved=false",
+ "canModify": true,
+ "favourite": false
+ },
+ {
+ "id": "2",
+ "name": "False Positive and Won't Fix Issues",
+ "user": "[SonarQube]",
+ "shared": true,
+ "query": "resolutions=FALSE-POSITIVE,WONTFIX",
+ "canModify": true,
+ "favourite": false
+ },
+ {
+ "id": "3",
+ "name": "My Unresolved Issues",
+ "user": "[SonarQube]",
+ "shared": true,
+ "query": "resolved=false|assignees=__me__",
+ "canModify": true,
+ "favourite": false
+ }
+ ]
+}