Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick0308 committed Mar 15, 2020
1 parent e81095f commit 72fac64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/rest/rest_invoker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 72fac64

Please sign in to comment.