aboutsummaryrefslogtreecommitdiffstats
path: root/models/fixtures/issue_user.yml
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2017-02-04 07:37:26 -0500
committerLunny Xiao <xiaolunwen@gmail.com>2017-02-04 20:37:26 +0800
commitd0960b80354c0c8326063c8408d2274adb50dec1 (patch)
tree7c082f5d30bee7a526c42a33031981b247eb537e /models/fixtures/issue_user.yml
parentd4035d1cb143a758463f2e3ee9d037fd5dab72f9 (diff)
downloadgitea-d0960b80354c0c8326063c8408d2274adb50dec1.tar.gz
gitea-d0960b80354c0c8326063c8408d2274adb50dec1.zip
Move IssueUser code to separate file (#836)
Also add unit tests
Diffstat (limited to 'models/fixtures/issue_user.yml')
-rw-r--r--models/fixtures/issue_user.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/models/fixtures/issue_user.yml b/models/fixtures/issue_user.yml
new file mode 100644
index 0000000000..b3f98a71d3
--- /dev/null
+++ b/models/fixtures/issue_user.yml
@@ -0,0 +1,23 @@
+-
+ id: 1
+ uid: 1
+ issue_id: 1
+ is_read: true
+ is_assigned: true
+ is_mentioned: false
+
+-
+ id: 2
+ uid: 2
+ issue_id: 1
+ is_read: true
+ is_assigned: false
+ is_mentioned: false
+
+-
+ id: 3
+ uid: 4
+ issue_id: 1
+ is_read: false
+ is_assigned: false
+ is_mentioned: false