diff --git a/internal/workflow/preprocessing_test.go b/internal/workflow/preprocessing_test.go index b5cfa17b..3c68f3c0 100644 --- a/internal/workflow/preprocessing_test.go +++ b/internal/workflow/preprocessing_test.go @@ -41,6 +41,10 @@ func (s *PreprocessingTestSuite) SetupTest(cfg config.Configuration) { activities.NewMetadataValidationActivity().Execute, temporalsdk_activity.RegisterOptions{Name: activities.MetadataValidationName}, ) + s.env.RegisterActivityWithOptions( + activities.NewCombinePremisActivity().Execute, + temporalsdk_activity.RegisterOptions{Name: activities.CombinePremisName}, + ) s.env.RegisterActivityWithOptions( activities.NewSipCreationActivity().Execute, temporalsdk_activity.RegisterOptions{Name: activities.SipCreationName}, @@ -91,6 +95,13 @@ func (s *PreprocessingTestSuite) TestExecute() { ).Return( &activities.MetadataValidationResult{}, nil, ) + s.env.OnActivity( + activities.CombinePremisName, + sessionCtx, + &activities.CombinePremisParams{SipPath: sipPath}, + ).Return( + &activities.CombinePremisResult{}, nil, + ) s.env.OnActivity( activities.SipCreationName, sessionCtx,