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

@@ -183,7 +183,8 @@ func TestGRPCServer(t *testing.T) {
// create client
gc := gclient.NewClient(
client.ContentType("application/grpc"),
client.Codec("application/grpc", protocodec.NewCodec()), client.Router(rtr), client.Register(r), client.Broker(b))
client.Codec("application/grpc", protocodec.NewCodec()),
client.Codec("application/grpc+proto", protocodec.NewCodec()), client.Router(rtr), client.Register(r), client.Broker(b))
c := gpb.NewTestClient("helloworld", gc)