Test: new changes in pkg request, serializer, task, xml, router

This commit is contained in:
HFO4
2022-03-31 20:17:01 +08:00
parent d117080991
commit ec776ac837
9 changed files with 26 additions and 285 deletions

View File

@@ -82,6 +82,8 @@ func TestHTTPClient_Request(t *testing.T) {
WithTimeout(time.Duration(1)*time.Microsecond),
WithCredential(auth.HMACAuth{SecretKey: []byte("123")}, 10),
WithContext(context.Background()),
WithoutHeader([]string{"s s", "s s"}),
WithMasterMeta(),
)
asserts.Error(resp.Err)
asserts.Nil(resp.Response)