From 447c9b428f4cf50174ef7f3fbea56b5405f6bbf8 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 16 Mar 2017 02:34:24 +0100 Subject: 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 --- models/fixtures/comment.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'models/fixtures/comment.yml') 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..." -- cgit v1.2.3