diff --git a/internal/i18n/i18n_test.go b/internal/i18n/i18n_test.go index 8fbdc2860..988961fbb 100644 --- a/internal/i18n/i18n_test.go +++ b/internal/i18n/i18n_test.go @@ -24,7 +24,7 @@ func TestMsg(t *testing.T) { t.Run("unexpected error", func(t *testing.T) { msg := Msg(ErrUnexpected, "A cat") - assert.Equal(t, "Unexpected error, please try again", msg) + assert.Equal(t, "Something went wrong, try again", msg) }) t.Run("already exists german", func(t *testing.T) { @@ -63,7 +63,7 @@ func TestError(t *testing.T) { t.Run("unexpected error", func(t *testing.T) { err := Error(ErrUnexpected, "A cat") - assert.EqualError(t, err, "Unexpected error, please try again") + assert.EqualError(t, err, "Something went wrong, try again") }) t.Run("already exists german", func(t *testing.T) { diff --git a/internal/i18n/response_test.go b/internal/i18n/response_test.go index 7dfc72ec7..208c6ee9b 100644 --- a/internal/i18n/response_test.go +++ b/internal/i18n/response_test.go @@ -19,7 +19,7 @@ func TestNewResponse(t *testing.T) { t.Run("unexpected error", func(t *testing.T) { resp := NewResponse(http.StatusInternalServerError, ErrUnexpected, "A cat") assert.Equal(t, http.StatusInternalServerError, resp.Code) - assert.Equal(t, "Unexpected error, please try again", resp.Err) + assert.Equal(t, "Something went wrong, try again", resp.Err) assert.Equal(t, "", resp.Msg) })