From f32123dd29199f8610f71a1ad1ed7c2f4cb3a3d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20Liss=C3=A9?= Date: Tue, 9 Apr 2019 17:54:24 +0200 Subject: [PATCH] Fix DeleteTimeEntry test --- mite/time_entry_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/mite/time_entry_test.go b/mite/time_entry_test.go index 4c7c6f7..7ae20d2 100644 --- a/mite/time_entry_test.go +++ b/mite/time_entry_test.go @@ -260,9 +260,7 @@ func TestApi_DeleteTimeEntry(t *testing.T) { rec.miteKey = r.Header.Get("X-MiteApiKey") rec.userAgent = r.Header.Get("User-Agent") - w.Header().Add("Content-Type", "application/json; charset=utf-8") w.WriteHeader(200) - _, _ = w.Write([]byte(timeEntryResponse)) })) defer srv.Close()