summaryrefslogtreecommitdiffstats
path: root/models/fixtures/notification.yml
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2017-01-30 09:21:49 -0500
committerLunny Xiao <xiaolunwen@gmail.com>2017-01-30 22:21:49 +0800
commit2eb15f4a611393a4cbfcd91054f92ade302be62f (patch)
treecbc3c1b448d0fe0ec4db19bae480682559ba2272 /models/fixtures/notification.yml
parent77ab60df83c5fb60ef8d7c4fe63ac222e3670112 (diff)
downloadgitea-2eb15f4a611393a4cbfcd91054f92ade302be62f.tar.gz
gitea-2eb15f4a611393a4cbfcd91054f92ade302be62f.zip
Unit tests and remove unused functions in models/notification (#796)
* Unit tests and remove unused functions in models/notification * Read -> Unread
Diffstat (limited to 'models/fixtures/notification.yml')
-rw-r--r--models/fixtures/notification.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/models/fixtures/notification.yml b/models/fixtures/notification.yml
new file mode 100644
index 0000000000..d90936709e
--- /dev/null
+++ b/models/fixtures/notification.yml
@@ -0,0 +1,21 @@
+-
+ id: 1
+ user_id: 1
+ repo_id: 1
+ status: 1 # unread
+ source: 1 # issue
+ updated_by: 2
+ issue_id: 1
+ created_unix: 946684800
+ updated_unix: 946684800
+
+-
+ id: 2
+ user_id: 2
+ repo_id: 1
+ status: 2 # read
+ source: 1 # issue
+ updated_by: 1
+ issue_id: 2
+ created_unix: 946684800
+ updated_unix: 946684800