Logging config

This commit is contained in:
simon987
2019-01-14 18:37:05 -05:00
parent ef333b6b25
commit 0346dd8b6b
7 changed files with 22 additions and 17 deletions

View File

@@ -5,7 +5,6 @@ import (
"crypto"
"crypto/hmac"
"encoding/hex"
"fmt"
"net/http"
"src/task_tracker/api"
"src/task_tracker/config"
@@ -16,8 +15,6 @@ func TestWebHookNoSignature(t *testing.T) {
r := Post("/git/receivehook", api.GitPayload{})
fmt.Println(r.StatusCode)
if r.StatusCode != 403 {
t.Error()
}
@@ -31,8 +28,6 @@ func TestWebHookInvalidSignature(t *testing.T) {
client := http.Client{}
r, _ := client.Do(req)
fmt.Println(r.StatusCode)
if r.StatusCode != 403 {
t.Error()
}