Skip to content

Commit

Permalink
Renamed SetContinuedAsNewRunID to SetContinuedExecutionRunID
Browse files Browse the repository at this point in the history
Let's be consistent with the workflow info field name.

Co-authored-by: Chad Retz <[email protected]>
  • Loading branch information
lminaudier and cretz authored Sep 22, 2023
1 parent 341f533 commit 06d4318
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/workflow_testsuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ func (e *TestWorkflowEnvironment) SetContinueAsNewSuggested(suggest bool) {

// SetContinuedExecutionID sets the value that is returned from
// GetInfo(ctx).ContinuedExecutionRunID
func (e *TestWorkflowEnvironment) SetContinuedAsNewRunID(rid string) {
e.impl.setContinuedExecutionID(rid)
func (e *TestWorkflowEnvironment) SetContinuedExecutionRunID(rid string) {
e.impl.setContinuedExecutionRunID(rid)
}

// OnActivity setup a mock call for activity. Parameter activity must be activity function (func) or activity name (string).
Expand Down

0 comments on commit 06d4318

Please sign in to comment.