diff --git a/post-processor/atlas/post-processor_test.go b/post-processor/atlas/post-processor_test.go index 1fe629a88..2f8c63c47 100644 --- a/post-processor/atlas/post-processor_test.go +++ b/post-processor/atlas/post-processor_test.go @@ -10,7 +10,7 @@ import ( func TestPostProcessorConfigure(t *testing.T) { currentEnv := os.Getenv("ATLAS_TOKEN") - os.Unsetenv("ATLAS_TOKEN") + os.Setenv("ATLAS_TOKEN", "") defer os.Setenv("ATLAS_TOKEN", currentEnv) var p PostProcessor