summaryrefslogtreecommitdiffstats
path: root/test/fixtures/queries.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/queries.yml')
-rw-r--r--test/fixtures/queries.yml53
1 files changed, 50 insertions, 3 deletions
diff --git a/test/fixtures/queries.yml b/test/fixtures/queries.yml
index a4c045b15..f12022729 100644
--- a/test/fixtures/queries.yml
+++ b/test/fixtures/queries.yml
@@ -1,7 +1,9 @@
---
queries_001:
- name: Multiple custom fields query
+ id: 1
project_id: 1
+ is_public: true
+ name: Multiple custom fields query
filters: |
---
cf_1:
@@ -17,6 +19,51 @@ queries_001:
- "125"
:operator: "="
- id: 1
- is_public: true
user_id: 1
+ column_names:
+queries_002:
+ id: 2
+ project_id: 1
+ is_public: false
+ name: Private query for cookbook
+ filters: |
+ ---
+ tracker_id:
+ :values:
+ - "3"
+ :operator: "="
+ status_id:
+ :values:
+ - "1"
+ :operator: o
+
+ user_id: 3
+ column_names:
+queries_003:
+ id: 3
+ project_id:
+ is_public: false
+ name: Private query for all projects
+ filters: |
+ ---
+ tracker_id:
+ :values:
+ - "3"
+ :operator: "="
+
+ user_id: 3
+ column_names:
+queries_004:
+ id: 4
+ project_id:
+ is_public: true
+ name: Public query for all projects
+ filters: |
+ ---
+ tracker_id:
+ :values:
+ - "3"
+ :operator: "="
+
+ user_id: 2
+ column_names: