1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Unit tests and remove unused functions in models/notification (#796)

* Unit tests and remove unused functions in models/notification

* Read -> Unread
This commit is contained in:
Ethan Koenig
2017-01-30 09:21:49 -05:00
committed by Lunny Xiao
parent 77ab60df83
commit 2eb15f4a61
5 changed files with 108 additions and 11 deletions

View File

@@ -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

View File

@@ -0,0 +1,9 @@
-
id: 1
user_id: 1
repo_id: 1
-
id: 2
user_id: 4
repo_id: 1