(t *testing.T)
| 1642 | } |
| 1643 | |
| 1644 | func Test_Client_Referer(t *testing.T) { |
| 1645 | handler := func(c fiber.Ctx) error { |
| 1646 | return c.Send(c.Request().Header.Referer()) |
| 1647 | } |
| 1648 | |
| 1649 | wrapAgent := func(c *Client) { |
| 1650 | c.SetReferer("http://referer.com") |
| 1651 | } |
| 1652 | |
| 1653 | testClient(t, handler, wrapAgent, "http://referer.com") |
| 1654 | } |
| 1655 | |
| 1656 | func Test_Client_QueryParam(t *testing.T) { |
| 1657 | t.Parallel() |
nothing calls this directly
no test coverage detected