Skip to content

Commit

Permalink
test: update content type test
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Nov 14, 2023
1 parent dca9926 commit 8fc2ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/integration/requests_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func TestRequestBase64(t *testing.T) {
defer resp.Body.Close()

a.Equal(http.StatusOK, resp.StatusCode)
a.Equal("text/plain", resp.Header.Get("Content-Type"))
a.Equal("text/plain; charset=utf-8", resp.Header.Get("Content-Type"))

var sb strings.Builder
_, err = io.Copy(&sb, base64.NewDecoder(base64.StdEncoding, resp.Body))
Expand Down

0 comments on commit 8fc2ab9

Please sign in to comment.