From cecc5695cd69a45ac98a444e499d4f78f7a3dbbf Mon Sep 17 00:00:00 2001 From: Andrew Nester Date: Mon, 16 Dec 2024 13:36:44 +0100 Subject: [PATCH] fixes --- bundle/run/app_test.go | 2 +- integration/bundle/helpers_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }