Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-12-29 02:05:30 +03:00
parent 8bc61c174d
commit 0e6f6b425c
14 changed files with 20 additions and 12 deletions

View File

@@ -111,8 +111,8 @@ func (c *testClient) Call(ctx context.Context, req *CallReq, opts ...client.Call
v3.Body("*"),
)
opts = append(opts,
v3.Cookie("Csrftoken", "true"),
v3.Header("Clientid", "true"),
v3.Cookie("Csrftoken", "true"),
)
opts = append(opts, client.WithRequestTimeout(time.Second*5))
rsp := &CallRsp{}