Browse Source

Pass non empty grpc conn

pull/392/head
Stefano Scafiti 3 years ago
parent
commit
5b2b4d5ce0
  1. 2
      test/workflow_interceptor_test.go

2
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
})

Loading…
Cancel
Save