diff --git a/main_test.go b/main_test.go index 0da2059..72bd355 100644 --- a/main_test.go +++ b/main_test.go @@ -42,7 +42,7 @@ func TestVerificaStatusCodeDaSaudacaoComParametro(t *testing.T) { resposta := httptest.NewRecorder() r.ServeHTTP(resposta, req) assert.Equal(t, http.StatusOK, resposta.Code, "Deveriam ser iguais") - mockDaResposta := `{"API diz":"E ai gui, Tudo beleza?"}` + mockDaResposta := `{"API diz":"Oi gui, Tudo beleza?"}` respostaBody, _ := ioutil.ReadAll(resposta.Body) assert.Equal(t, mockDaResposta, string(respostaBody)) }