fix more tests

This commit is contained in:
Shreyas Goenka 2024-12-27 13:53:32 +05:30
parent 3cc7393e1a
commit 598e569957
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ func initTestTemplateWithBundleRoot(t testutil.TestingT, ctx context.Context, te
configFilePath := writeConfigFile(t, config) configFilePath := writeConfigFile(t, config)
ctx = telemetry.ContextWithLogger(ctx)
ctx = root.SetWorkspaceClient(ctx, nil) ctx = root.SetWorkspaceClient(ctx, nil)
cmd := cmdio.NewIO(ctx, flags.OutputJSON, strings.NewReader(""), os.Stdout, os.Stderr, "", "bundles") cmd := cmdio.NewIO(ctx, flags.OutputJSON, strings.NewReader(""), os.Stdout, os.Stderr, "", "bundles")
ctx = cmdio.InContext(ctx, cmd) ctx = cmdio.InContext(ctx, cmd)