1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-10-06 21:46:55 +02:00

Fix the grpc test

This commit is contained in:
Asim Aslam
2019-06-19 12:34:45 +01:00
parent e9c2df775a
commit 1c1dae0642
3 changed files with 17 additions and 20 deletions

View File

@@ -45,7 +45,7 @@ func TestGRPCClient(t *testing.T) {
// register service
r.Register(&registry.Service{
Name: "test",
Name: "helloworld",
Version: "test",
Nodes: []*registry.Node{
&registry.Node{
@@ -73,7 +73,7 @@ func TestGRPCClient(t *testing.T) {
}
for _, method := range testMethods {
req := c.NewRequest("test", method, &pb.HelloRequest{
req := c.NewRequest("helloworld", method, &pb.HelloRequest{
Name: "John",
})