aboutsummaryrefslogtreecommitdiffstats
path: root/models/fixtures
diff options
context:
space:
mode:
authorkolaente <konrad@kola-entertainments.de>2018-05-09 18:29:04 +0200
committerLauris BH <lauris@nix.lv>2018-05-09 19:29:04 +0300
commit95f2e2b57beedcdeb2b9623dc86e26f252fdd7bd (patch)
treeebfeb5b898f72fc57ac1fe9680374fdb4bc91aeb /models/fixtures
parent238a997ec0b5d3e3bed0e55edcacebb44f86d373 (diff)
downloadgitea-95f2e2b57beedcdeb2b9623dc86e26f252fdd7bd.tar.gz
gitea-95f2e2b57beedcdeb2b9623dc86e26f252fdd7bd.zip
Multiple assignees (#3705)
Diffstat (limited to 'models/fixtures')
-rw-r--r--models/fixtures/issue.yml2
-rw-r--r--models/fixtures/issue_assignees.yml8
-rw-r--r--models/fixtures/issue_user.yml3
3 files changed, 8 insertions, 5 deletions
diff --git a/models/fixtures/issue.yml b/models/fixtures/issue.yml
index ff514e706c..4de8c4fa7e 100644
--- a/models/fixtures/issue.yml
+++ b/models/fixtures/issue.yml
@@ -3,7 +3,6 @@
repo_id: 1
index: 1
poster_id: 1
- assignee_id: 1
name: issue1
content: content for the first issue
is_closed: false
@@ -67,7 +66,6 @@
repo_id: 3
index: 1
poster_id: 1
- assignee_id: 1
name: issue6
content: content6
is_closed: false
diff --git a/models/fixtures/issue_assignees.yml b/models/fixtures/issue_assignees.yml
new file mode 100644
index 0000000000..1be07df7d4
--- /dev/null
+++ b/models/fixtures/issue_assignees.yml
@@ -0,0 +1,8 @@
+-
+ id: 1
+ assignee_id: 1
+ issue_id: 1
+-
+ id: 2
+ assignee_id: 1
+ issue_id: 6
diff --git a/models/fixtures/issue_user.yml b/models/fixtures/issue_user.yml
index b3f98a71d3..8039b1e40f 100644
--- a/models/fixtures/issue_user.yml
+++ b/models/fixtures/issue_user.yml
@@ -3,7 +3,6 @@
uid: 1
issue_id: 1
is_read: true
- is_assigned: true
is_mentioned: false
-
@@ -11,7 +10,6 @@
uid: 2
issue_id: 1
is_read: true
- is_assigned: false
is_mentioned: false
-
@@ -19,5 +17,4 @@
uid: 4
issue_id: 1
is_read: false
- is_assigned: false
is_mentioned: false