Skip to content

Commit

Permalink
test resolving from wlynch proposition
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-barret committed Jan 22, 2024
1 parent 1f90950 commit c3ce007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"encoding/json"
"errors"
"fmt"
"io"
"net/http"
"net/http/httptest"
"os"
Expand Down Expand Up @@ -226,7 +227,6 @@ func TestRefreshTokenWithParameters(t *testing.T) {
// Convert io.ReadCloser to String without deleting body data.
var gotBodyBytes []byte
gotBodyBytes, _ = io.ReadAll(req.Body)
req.Body = io.NopCloser(bytes.NewBuffer(gotBodyBytes))
gotBodyString := string(gotBodyBytes)

// Compare request sent with request received.
Expand Down

0 comments on commit c3ce007

Please sign in to comment.