Skip to content

Commit c4838e8

Browse files
added enginePath
1 parent 77e983a commit c4838e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/integration/util_command.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func createASTIntegrationTestCommand(t *testing.T) *cobra.Command {
8888
sastIncrementalPath := viper.GetString(params.SastMetadataPathKey)
8989
accessManagementPath := viper.GetString(params.AccessManagementPathKey)
9090
byorPath := viper.GetString(params.ByorPathKey)
91-
91+
enginePath := viper.GetString(params.EnginePathKey)
9292
scansWrapper := wrappers.NewHTTPScansWrapper(scans)
9393
applicationsWrapper := wrappers.NewApplicationsHTTPWrapper(applications)
9494
resultsPdfReportsWrapper := wrappers.NewResultsPdfReportsHTTPWrapper(resultsPdfPath)
@@ -123,7 +123,7 @@ func createASTIntegrationTestCommand(t *testing.T) *cobra.Command {
123123
accessManagementWrapper := wrappers.NewAccessManagementHTTPWrapper(accessManagementPath)
124124
ByorWrapper := wrappers.NewByorHTTPWrapper(byorPath)
125125
containerResolverWrapper := wrappers.NewContainerResolverWrapper()
126-
engineWrapper := wrappers.EngineWrapper(params.EnginePathKey)
126+
engineWrapper := wrappers.EngineWrapper(enginePath)
127127

128128
astCli := commands.NewAstCLI(
129129
applicationsWrapper,

0 commit comments

Comments
 (0)