Commit 08ba23f1 authored by Seth Vargo's avatar Seth Vargo

Unset the ATLAS_TOKEN environment variable before that test

parent 8194846d
......@@ -9,6 +9,10 @@ import (
)
func TestPostProcessorConfigure(t *testing.T) {
currentEnv := os.Getenv("ATLAS_TOKEN")
os.Unsetenv("ATLAS_TOKEN")
defer os.Setenv("ATLAS_TOKEN", currentEnv)
var p PostProcessor
if err := p.Configure(validDefaults()); err != nil {
t.Fatalf("err: %s", err)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment