From aac7f5743d77a0c93734516158d4bf417c057ee6 Mon Sep 17 00:00:00 2001 From: justusbunsi <61625851+justusbunsi@users.noreply.github.com> Date: Sat, 9 Oct 2021 21:09:23 +0200 Subject: [PATCH] Fix tests Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com> --- internal/webhook_handler/sonarqube_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/webhook_handler/sonarqube_test.go b/internal/webhook_handler/sonarqube_test.go index 91c594c..631936a 100644 --- a/internal/webhook_handler/sonarqube_test.go +++ b/internal/webhook_handler/sonarqube_test.go @@ -30,6 +30,10 @@ func (h *GiteaSdkMock) PostComment(_ settings.GiteaRepository, _ int, _ string) return nil } +func (h *GiteaSdkMock) UpdateStatus(_ settings.GiteaRepository, w *webhook.Webhook) error { + return nil +} + type SQSdkMock struct { mock.Mock }