File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,10 +23,6 @@ func contextWithNewHeader(ctx context.Context) context.Context {
2323 return context .WithValue (ctx , headerKey {}, map [string ]* commonpb.Payload {})
2424}
2525
26- // NewHeaderContext returns a copy of ctx with an empty Temporal header attached.
27- // This matches the context setup the real client performs before invoking
28- // ClientOutboundInterceptor methods, and is intended for use in tests that call
29- // client interceptors directly.
3026func NewHeaderContext (ctx context.Context ) context.Context {
3127 return contextWithNewHeader (ctx )
3228}
Original file line number Diff line number Diff line change 2121
2222 // TestUpdateCallback is a basic implementation of the UpdateCallbacks interface for testing purposes.
2323 TestUpdateCallback = internal.TestUpdateCallback
24-
2524)
2625
2726// ErrMockStartChildWorkflowFailed is special error used to indicate the mocked child workflow should fail to start.
You can’t perform that action at this time.
0 commit comments