We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8887924 commit 7399b85Copy full SHA for 7399b85
api/http_lifecycle_test.go
@@ -2,6 +2,7 @@ package api_test
2
3
import (
4
"io/ioutil"
5
+ "net/http"
6
"net/http/httptest"
7
"net/url"
8
"testing"
@@ -65,7 +66,7 @@ func TestHttpLifecycleExecutesRequestWithoutBody(t *testing.T) {
65
66
server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
67
called = true
68
- assert.Equal(t, "/path", r.Path.RelativeURI())
69
+ assert.Equal(t, "/path", r.URL.RequestURI())
70
}))
71
defer server.Close()
72
0 commit comments