Skip to content

Commit

Permalink
remove remaining dc related data
Browse files Browse the repository at this point in the history
  • Loading branch information
anuptalwalkar committed Mar 13, 2017
1 parent 7fc1fbf commit 26ab434
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ import (
"path"
"testing"

"go.uber.org/fx/testutils/env"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down Expand Up @@ -101,8 +99,6 @@ int: 123
string: test string
`)

var testDatacenter = "TEST_DATACENTER"

type arrayOfStructs struct {
Things []nested `yaml:"things"`
}
Expand Down Expand Up @@ -361,7 +357,6 @@ func TestEnvProvider_Callbacks(t *testing.T) {

func TestGetConfigFiles(t *testing.T) {
SetEnvironmentPrefix("TEST")
defer env.Override(t, testDatacenter, "dc")()

files := getConfigFiles(baseFiles()...)
assert.Contains(t, files, "./base.yaml")
Expand Down

0 comments on commit 26ab434

Please sign in to comment.