From e73ba2ab24eec1590d6047e35d82c4c3013bba0e Mon Sep 17 00:00:00 2001 From: mitchell Date: Fri, 5 Jan 2024 11:08:57 -0500 Subject: [PATCH] Propagate extra test session environment variables. --- internal/testhelpers/e2e/session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/testhelpers/e2e/session.go b/internal/testhelpers/e2e/session.go index 588da45c2b..70fa40ecc0 100644 --- a/internal/testhelpers/e2e/session.go +++ b/internal/testhelpers/e2e/session.go @@ -172,7 +172,7 @@ func New(t *testing.T, retainDirs bool, extraEnv ...string) *Session { func new(t *testing.T, retainDirs, updatePath bool, extraEnv ...string) *Session { dirs, err := NewDirs("") require.NoError(t, err) - env := sandboxedTestEnvironment(t, dirs, updatePath) + env := sandboxedTestEnvironment(t, dirs, updatePath, extraEnv...) session := &Session{Dirs: dirs, Env: env, retainDirs: retainDirs, T: t}