Skip to content
Snippets Groups Projects
Commit a1dc6bc5 authored by Patrick's avatar Patrick
Browse files

fix test

parent 6a977ebb
No related branches found
No related tags found
No related merge requests found
......@@ -148,7 +148,7 @@ func TestRestInvoker_Invoke(t *testing.T) {
configMap["com.ikurento.user.UserProvider"] = &rest.RestServiceConfig{
RestMethodConfigsMap: methodConfigMap,
}
restClient := client_impl.GetRestyClient(&client.RestOptions{ConnectTimeout: 3 * time.Second, RequestTimeout: 3 * time.Second})
restClient := client_impl.NewRestyClient(&client.RestOptions{ConnectTimeout: 3 * time.Second, RequestTimeout: 3 * time.Second})
invoker := NewRestInvoker(url, &restClient, methodConfigMap)
user := &User{}
inv := invocation.NewRPCInvocationWithOptions(invocation.WithMethodName("GetUser"),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment