Skip to content

Commit f568c88

Browse files
committed
test fixes
1 parent 7738977 commit f568c88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bundle/run/app_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func setupBundle(t *testing.T) (context.Context, *bundle.Bundle, *mocks.MockWork
7676
bundletest.SetLocation(b, "resources.apps.my_app", []dyn.Location{{File: "./databricks.yml"}})
7777

7878
ctx := context.Background()
79-
ctx = cmdio.InContext(ctx, cmdio.NewIO(flags.OutputText, &bytes.Buffer{}, &bytes.Buffer{}, &bytes.Buffer{}, "", "..."))
79+
ctx = cmdio.InContext(ctx, cmdio.NewIO(ctx, flags.OutputText, &bytes.Buffer{}, &bytes.Buffer{}, &bytes.Buffer{}, "", "..."))
8080
ctx = cmdio.NewContext(ctx, cmdio.NewLogger(flags.ModeAppend))
8181

8282
diags := bundle.Apply(ctx, b, bundle.Seq(

integration/bundle/helpers_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func runResourceWithStderr(t testutil.TestingT, ctx context.Context, path string
123123
ctx = env.Set(ctx, "BUNDLE_ROOT", path)
124124
ctx = cmdio.NewContext(ctx, cmdio.Default())
125125

126-
c := testcli.NewRunnerWithContext(t, ctx, "bundle", "run", key)
126+
c := testcli.NewRunner(t, ctx, "bundle", "run", key)
127127
stdout, stderr, err := c.Run()
128128
return stdout.String(), stderr.String(), err
129129
}

0 commit comments

Comments
 (0)