Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
et-nik committed Feb 17, 2024
1 parent e69a95c commit c32ffd2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/functional/gdtasks/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"time"

"github.com/gameap/daemon/internal/app/components"
"github.com/gameap/daemon/internal/app/components/customhandlers"
"github.com/gameap/daemon/internal/app/config"
"github.com/gameap/daemon/internal/app/contracts"
"github.com/gameap/daemon/internal/app/domain"
Expand Down Expand Up @@ -64,9 +65,12 @@ func (suite *Suite) SetupSuite() {
},
}

suite.Executor = components.NewDefaultExtendableExecutor(components.NewCleanExecutor())
executor := components.NewDefaultExtendableExecutor(components.NewCleanExecutor())
suite.ProcessManager = processmanager.NewSimple(suite.Cfg, suite.Executor)

executor.RegisterHandler("get-tool", customhandlers.NewGetTool(suite.Cfg).Handle)
suite.Executor = executor

suite.Cache, err = services.NewLocalCache(suite.Cfg)
if err != nil {
suite.T().Fatal(err)
Expand Down

0 comments on commit c32ffd2

Please sign in to comment.