1
0
mirror of https://github.com/pinpox/gitea-matrix-bot synced 2024-11-22 19:31:58 +01:00

comment out tests

This commit is contained in:
Pablo Ovelleiro Corral 2019-04-19 11:18:02 +02:00
parent b48f6fa55c
commit a0e6f2943a
No known key found for this signature in database
GPG Key ID: F7C1D57C8464E825

@ -5,36 +5,36 @@ import (
"testing" "testing"
) )
func Test_setupListener(t *testing.T) { // func Test_setupListener(t *testing.T) {
tests := []struct { // tests := []struct {
name string // name string
}{ // }{
// TODO: Add test cases. // // TODO: Add test cases.
} // }
for _, tt := range tests { // for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) { // t.Run(tt.name, func(t *testing.T) {
setupListener() // setupListener()
}) // })
} // }
} // }
func TestPostHandler(t *testing.T) { // func TestPostHandler(t *testing.T) {
type args struct { // type args struct {
w http.ResponseWriter // w http.ResponseWriter
r *http.Request // r *http.Request
} // }
tests := []struct { // tests := []struct {
name string // name string
args args // args args
}{ // }{
// TODO: Add test cases. // // TODO: Add test cases.
} // }
for _, tt := range tests { // for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) { // t.Run(tt.name, func(t *testing.T) {
PostHandler(tt.args.w, tt.args.r) // PostHandler(tt.args.w, tt.args.r)
}) // })
} // }
} // }
func Test_generateMessage(t *testing.T) { func Test_generateMessage(t *testing.T) {
type args struct { type args struct {