fix tests
This commit is contained in:
parent
88bb3ca48c
commit
2563e6e8ef
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user