From 3148fff88d51af76f97190430524d19f059bc9c7 Mon Sep 17 00:00:00 2001 From: Mike Cantelon <mcantelon@gmail.com> Date: Tue, 14 May 2024 00:55:53 -0700 Subject: [PATCH] work --- internal/workflow/preprocessing_test.go | 11 +++++++++++ 1 file changed, 11 insertions(+) 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,