From 5b2b4d5ce04d72992e1bf6f27e30cd36c54e6c5e Mon Sep 17 00:00:00 2001 From: Stefano Scafiti Date: Thu, 26 Jan 2023 14:43:19 +0100 Subject: [PATCH] Pass non empty grpc conn --- test/workflow_interceptor_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/workflow_interceptor_test.go b/test/workflow_interceptor_test.go index b501ec1..4c23112 100644 --- a/test/workflow_interceptor_test.go +++ b/test/workflow_interceptor_test.go @@ -11,7 +11,7 @@ import ( func TestWorkflowInterceptorOutsideSaga(t *testing.T) { called := false - workflow.Interceptor(context.TODO(), "method", nil, nil, nil, func(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, opts ...grpc.CallOption) error { + workflow.Interceptor(context.TODO(), "method", nil, nil, &grpc.ClientConn{}, func(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, opts ...grpc.CallOption) error { called = true return nil })