We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52ebf16 commit 39dd46cCopy full SHA for 39dd46c
step/context_test.go
@@ -85,7 +85,7 @@ type config struct {
85
86
func TestCtxState_load(t *testing.T) {
87
contextsDir := t.TempDir()
88
- os.Setenv(HomeEnv, contextsDir)
+ t.Setenv(HomeEnv, contextsDir)
89
90
ctx1ConfigDirectory := filepath.Join(contextsDir, ".step", "authorities", "ctx1", "config")
91
err := os.MkdirAll(ctx1ConfigDirectory, 0o777)
0 commit comments