diff --git a/tests/dependabot_test.go b/tests/dependabot_test.go index 1c35b96..632d0d0 100644 --- a/tests/dependabot_test.go +++ b/tests/dependabot_test.go @@ -18,7 +18,9 @@ func TestDependabot(t *testing.T) { Cmds: Commands(), Quiet: !testing.Verbose(), } - env := os.Environ() + env := []string{ + "PATH=" + os.Getenv("PATH"), + } scripttest.Test(t, ctx, engine, env, "../testdata/scripts/*.txt") }