diff options
author | Ethan Koenig <etk39@cornell.edu> | 2017-01-30 09:21:49 -0500 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-01-30 22:21:49 +0800 |
commit | 2eb15f4a611393a4cbfcd91054f92ade302be62f (patch) | |
tree | cbc3c1b448d0fe0ec4db19bae480682559ba2272 /models/fixtures/notification.yml | |
parent | 77ab60df83c5fb60ef8d7c4fe63ac222e3670112 (diff) | |
download | gitea-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.yml | 21 |
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 |