diff --git a/bundle/run/app_test.go b/bundle/run/app_test.go index ddbdc2a30..cb324382c 100644 --- a/bundle/run/app_test.go +++ b/bundle/run/app_test.go @@ -42,7 +42,7 @@ func (ta *testAppRunner) run(t *testing.T) { func setupBundle(t *testing.T) (context.Context, *bundle.Bundle, *mocks.MockWorkspaceClient) { root := t.TempDir() - err := os.MkdirAll(filepath.Join(root, "my_app"), 0700) + err := os.MkdirAll(filepath.Join(root, "my_app"), 0o700) require.NoError(t, err) b := &bundle.Bundle{ diff --git a/integration/bundle/helpers_test.go b/integration/bundle/helpers_test.go index 081e42ee6..5f931b61b 100644 --- a/integration/bundle/helpers_test.go +++ b/integration/bundle/helpers_test.go @@ -123,7 +123,7 @@ func runResourceWithStderr(t testutil.TestingT, ctx context.Context, path string ctx = env.Set(ctx, "BUNDLE_ROOT", path) ctx = cmdio.NewContext(ctx, cmdio.Default()) - c := internal.NewCobraTestRunnerWithContext(t, ctx, "bundle", "run", key) + c := testcli.NewRunnerWithContext(t, ctx, "bundle", "run", key) stdout, stderr, err := c.Run() return stdout.String(), stderr.String(), err }