summary refs log tree commit diff stats
path: root/http_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'http_test.go')
-rw-r--r--http_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http_test.go b/http_test.go
index 67ccc88..57635e5 100644
--- a/http_test.go
+++ b/http_test.go
@@ -12,7 +12,7 @@ func Test_log400(t *testing.T) {
 	t.Run("log400", func(t *testing.T) {
 		w := httptest.NewRecorder()
 		req := httptest.NewRequest("POST", "/400", nil)
-		log400(w, req, errors.New("400 Test"))
+		log400(req, errors.New("400 Test"))
 		resp := w.Result()
 		if resp.StatusCode != http.StatusBadRequest {
 			t.Errorf("Didn't receive 400, received: %v\n", resp.StatusCode)