(t *testing.T)
| 499 | } |
| 500 | |
| 501 | func TestSetBaseURL(t *testing.T) { |
| 502 | baseURL := "http://dummy-req.local/test" |
| 503 | resp, _ := tc().SetTimeout(time.Nanosecond).SetBaseURL(baseURL).R().Get("/req") |
| 504 | tests.AssertEqual(t, baseURL+"/req", resp.Request.RawRequest.URL.String()) |
| 505 | } |
| 506 | |
| 507 | func TestSetCommonFormDataFromValues(t *testing.T) { |
| 508 | expectedForm := make(url.Values) |
nothing calls this directly
no test coverage detected
searching dependent graphs…