#53 removing logging, remove extraneous comments

This commit is contained in:
Benjamin Foote
2018-11-28 11:11:43 -08:00
parent a92dd933ba
commit f1f5db7261
2 changed files with 3 additions and 45 deletions
-4
View File
@@ -61,9 +61,6 @@ func TestWebhooks(t *testing.T) {
event: BuildEvent,
typ: BuildPayload{},
filename: "../testdata/docker/docker_hub_build_notice.json",
headers: http.Header{
"X-Github-Event": []string{"commit_comment"},
},
},
}
@@ -86,7 +83,6 @@ func TestWebhooks(t *testing.T) {
defer server.Close()
req, err := http.NewRequest(http.MethodPost, server.URL+path, payload)
assert.NoError(err)
req.Header = tc.headers
req.Header.Set("Content-Type", "application/json")
resp, err := client.Do(req)