summaryrefslogtreecommitdiffstats
path: root/models/fixtures/comment.yml
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2017-03-16 02:34:24 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2017-03-16 09:34:24 +0800
commit447c9b428f4cf50174ef7f3fbea56b5405f6bbf8 (patch)
tree9188395769273bd286e73ee940311216fce58073 /models/fixtures/comment.yml
parentca1c3f1926eff992a2458f26cb24ed2f35265b05 (diff)
downloadgitea-447c9b428f4cf50174ef7f3fbea56b5405f6bbf8.tar.gz
gitea-447c9b428f4cf50174ef7f3fbea56b5405f6bbf8.zip
Send notifications to partecipants in issue comments (#1217)
* Send notifications to partecipants in issue comments Closes #1216 Includes test (still failing) * Do not include "labelers" to participants Fix test to expect what GetParticipants return
Diffstat (limited to 'models/fixtures/comment.yml')
-rw-r--r--models/fixtures/comment.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/models/fixtures/comment.yml b/models/fixtures/comment.yml
index e38952ac55..3292bb4848 100644
--- a/models/fixtures/comment.yml
+++ b/models/fixtures/comment.yml
@@ -2,6 +2,18 @@
id: 1
type: 7 # label
poster_id: 2
- issue_id: 1
+ issue_id: 1 # in repo_id 1
label_id: 1
content: "1"
+-
+ id: 2
+ type: 0 # comment
+ poster_id: 3 # user not watching (see watch.yml)
+ issue_id: 1 # in repo_id 1
+ content: "good work!"
+-
+ id: 3
+ type: 0 # comment
+ poster_id: 5 # user not watching (see watch.yml)
+ issue_id: 1 # in repo_id 1
+ content: "meh..."