Skip to content

Commit

Permalink
Fixing test after conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator committed Oct 19, 2023
1 parent 52987e7 commit b8d81a0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import (

"github.com/elastic/elastic-agent-libs/transport/httpcommon"
"github.com/elastic/elastic-agent/internal/pkg/agent/application/upgrade/artifact"
"github.com/elastic/elastic-agent/internal/pkg/agent/application/upgrade/details"
"github.com/elastic/elastic-agent/pkg/core/logger"
)

Expand Down Expand Up @@ -46,7 +47,8 @@ func TestVerify(t *testing.T) {
config.OperatingSystem = testCase.system
config.Architecture = testCase.arch

testClient := NewDownloaderWithClient(log, config, elasticClient)
upgradeDetails := details.NewDetails("8.12.0", details.StateRequested, "")
testClient := NewDownloaderWithClient(log, config, elasticClient, upgradeDetails)
artifact, err := testClient.Download(context.Background(), beatSpec, version)
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit b8d81a0

Please sign in to comment.