gitea-sonarqube-bot/internal/webhook_handler/main_test.go
justusbunsi 5082e5d3f3
Use OOP-ish style for SonarQube webhook handling
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-06-29 12:27:01 +02:00

15 lines
175 B
Go

package webhook_handler
import (
"log"
"io/ioutil"
"os"
"testing"
)
// SETUP: mute logs
func TestMain(m *testing.M) {
log.SetOutput(ioutil.Discard)
os.Exit(m.Run())
}