Remove unnessary early header write

This commit is contained in:
Jan-Eric Hellenberg
2021-04-28 10:06:07 +02:00
committed by Felix Auringer
parent 2d71584464
commit e14e9c9229
3 changed files with 2 additions and 2 deletions

View File

@@ -19,5 +19,6 @@ func TestHealthRoute(t *testing.T) {
_ = json.Unmarshal(recorder.Body.Bytes(), &result)
assert.Equal(t, http.StatusOK, recorder.Code)
assert.Equal(t, "application/json", recorder.Header().Get("Content-Type"))
assert.Equal(t, "I'm alive!", result.Message)
}