Skip to content

Commit

Permalink
Fix for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mcantelon committed Nov 13, 2024
1 parent 65ece6d commit 5fe2aaf
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions internal/workflow/processing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,13 @@ func (s *ProcessingWorkflowTestSuite) TestPackageConfirmation() {
},
).Return(valPREMISTaskID, nil)

s.env.OnActivity(xmlvalidate.Name, sessionCtx,
&xmlvalidate.Params{XMLPath: filepath.Join(transferPath, "metadata", "premis.xml"), XSDPath: cfg.ValidatePREMIS.XSDPath},
s.env.OnActivity(
xmlvalidate.Name,
sessionCtx,
&xmlvalidate.Params{
XMLPath: filepath.Join(transferPath, "metadata", "premis.xml"),
XSDPath: cfg.ValidatePREMIS.XSDPath,
},
).Return(
&xmlvalidate.Result{Failures: []string{}}, nil,
)
Expand Down Expand Up @@ -695,8 +700,13 @@ func (s *ProcessingWorkflowTestSuite) TestAMWorkflow() {
},
).Return(valPREMISTaskID, nil)

s.env.OnActivity(xmlvalidate.Name, sessionCtx,
&xmlvalidate.Params{XMLPath: filepath.Join(extractPath, "data", "metadata", "premis.xml"), XSDPath: "/home/enduro/premis.xsd"},
s.env.OnActivity(
xmlvalidate.Name,
sessionCtx,
&xmlvalidate.Params{
XMLPath: filepath.Join(extractPath, "data", "metadata", "premis.xml"),
XSDPath: "/home/enduro/premis.xsd",
},
).Return(
&xmlvalidate.Result{Failures: []string{}}, nil,
)
Expand Down

0 comments on commit 5fe2aaf

Please sign in to comment.