@@ -31,7 +31,7 @@ func TestNewLoggingHTTPTransport(t *testing.T) {
3131 reqBody := `An example
3232 multiline
3333 request body`
34- req , _ := http .NewRequest ("GET" , "https://developer.hashicorp. com/terraform " , bytes .NewBufferString (reqBody ))
34+ req , _ := http .NewRequest ("GET" , "https://github. com/" , bytes .NewBufferString (reqBody ))
3535 res , err := client .Do (req .WithContext (ctx ))
3636 if err != nil {
3737 t .Fatalf ("request failed: %v" , err )
@@ -67,12 +67,12 @@ func TestNewLoggingHTTPTransport(t *testing.T) {
6767 "@module" : "provider" ,
6868 "tf_http_op_type" : "request" ,
6969 "tf_http_req_method" : "GET" ,
70- "tf_http_req_uri" : "/terraform " ,
70+ "tf_http_req_uri" : "/" ,
7171 "tf_http_req_version" : "HTTP/1.1" ,
7272 "tf_http_req_body" : "An example multiline request body" ,
7373 "tf_http_trans_id" : transId ,
7474 "Accept-Encoding" : "gzip" ,
75- "Host" : "developer.hashicorp .com" ,
75+ "Host" : "github .com" ,
7676 "User-Agent" : "Go-http-client/1.1" ,
7777 "Content-Length" : "37" ,
7878 }); diff != "" {
@@ -122,7 +122,7 @@ func TestNewSubsystemLoggingHTTPTransport(t *testing.T) {
122122 reqBody := `An example
123123 multiline
124124 request body`
125- req , _ := http .NewRequest ("GET" , "https://developer.hashicorp. com/terraform " , bytes .NewBufferString (reqBody ))
125+ req , _ := http .NewRequest ("GET" , "https://github. com" , bytes .NewBufferString (reqBody ))
126126 res , err := client .Do (req .WithContext (ctx ))
127127 if err != nil {
128128 t .Fatalf ("request failed: %v" , err )
@@ -158,12 +158,12 @@ func TestNewSubsystemLoggingHTTPTransport(t *testing.T) {
158158 "@module" : "provider.test-subsystem" ,
159159 "tf_http_op_type" : "request" ,
160160 "tf_http_req_method" : "GET" ,
161- "tf_http_req_uri" : "/terraform " ,
161+ "tf_http_req_uri" : "/" ,
162162 "tf_http_req_version" : "HTTP/1.1" ,
163163 "tf_http_req_body" : "An example multiline request body" ,
164164 "tf_http_trans_id" : transId ,
165165 "Accept-Encoding" : "gzip" ,
166- "Host" : "developer.hashicorp .com" ,
166+ "Host" : "github .com" ,
167167 "User-Agent" : "Go-http-client/1.1" ,
168168 "Content-Length" : "37" ,
169169 }); diff != "" {
0 commit comments