fixup tests

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2023-01-07 23:56:14 +03:00
parent d465998023
commit 9d7ffcc01a
6 changed files with 194 additions and 116 deletions

View File

@@ -94,7 +94,12 @@ func TestGRPCClient(t *testing.T) {
rtr := regRouter.NewRouter(router.Register(r))
// create client
c := grpc.NewClient(client.Codec("application/grpc+proto", protocodec.NewCodec()), client.Router(rtr))
c := grpc.NewClient(
client.Codec("application/grpc", protocodec.NewCodec()),
client.Codec("application/grpc+proto", protocodec.NewCodec()),
// client.ContentType("application/grpc"),
client.Router(rtr),
)
testMethods := []string{
"/helloworld.Test/Call",