fix tests

This commit is contained in:
Lunny Xiao 2018-05-23 13:12:31 +08:00
parent 88bb3ca48c
commit 2563e6e8ef
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
3 changed files with 1 additions and 4 deletions

View File

@ -29,7 +29,6 @@ func (r *actionNotifier) Run() {}
func (r *actionNotifier) NotifyCreateIssueComment(doer *models.User, repo *models.Repository,
issue *models.Issue, comment *models.Comment) {
panic("not implementation")
}
func (r *actionNotifier) NotifyNewIssue(issue *models.Issue) {
@ -47,7 +46,6 @@ func (r *actionNotifier) NotifyNewIssue(issue *models.Issue) {
}
func (r *actionNotifier) NotifyCloseIssue(issue *models.Issue, doer *models.User) {
panic("not implementation")
}
func (r *actionNotifier) NotifyNewPullRequest(pr *models.PullRequest) {

View File

@ -28,7 +28,6 @@ func (m *mailNotifier) Run() {
func (m *mailNotifier) NotifyCreateIssueComment(doer *models.User, repo *models.Repository,
issue *models.Issue, comment *models.Comment) {
panic("not implementation")
}
func (m *mailNotifier) NotifyNewIssue(issue *models.Issue) {

View File

@ -63,7 +63,7 @@ func (w *webhookNotifier) NotifyNewIssue(issue *models.Issue) {
// NotifyCloseIssue implements notification.Receiver
func (w *webhookNotifier) NotifyCloseIssue(issue *models.Issue, doer *models.User) {
panic("not implements")
}
func (w *webhookNotifier) NotifyMergePullRequest(pr *models.PullRequest, doer *models.User, baseGitRepo *git.Repository) {