Skip to content

Commit

Permalink
Update test to go 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
airenas committed Sep 19, 2023
1 parent b3924a5 commit b106ea5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion testing/integration/Dockerfile.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17-alpine
FROM golang:1.19-alpine

WORKDIR /go/src/

Expand Down
3 changes: 1 addition & 2 deletions testing/integration/bigtts_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"context"
"encoding/json"
"io"
"io/ioutil"
"log"
"mime/multipart"
"net"
Expand Down Expand Up @@ -231,7 +230,7 @@ func invoke(t *testing.T, r *http.Request) *http.Response {
func checkCode(t *testing.T, resp *http.Response, expected int) {
t.Helper()
if resp.StatusCode != expected {
b, _ := ioutil.ReadAll(resp.Body)
b, _ := io.ReadAll(resp.Body)
require.Equal(t, expected, resp.StatusCode, string(b))
}
}
Expand Down

0 comments on commit b106ea5

Please sign in to comment.