(t *testing.T)
| 311 | } |
| 312 | |
| 313 | func TestAddCommonQueryParam(t *testing.T) { |
| 314 | resp, err := tc(). |
| 315 | AddCommonQueryParam("test", "1"). |
| 316 | AddCommonQueryParam("test", "2"). |
| 317 | R().Get("/query-parameter") |
| 318 | assertSuccess(t, resp, err) |
| 319 | tests.AssertEqual(t, "test=1&test=2", resp.String()) |
| 320 | } |
| 321 | |
| 322 | func TestSetCommonQueryParam(t *testing.T) { |
| 323 | resp, err := tc().SetCommonQueryParam("test", "test").R().Get("/query-parameter") |
nothing calls this directly
no test coverage detected
searching dependent graphs…