diff options
Diffstat (limited to 'tpl/data/data_test.go')
-rw-r--r-- | tpl/data/data_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tpl/data/data_test.go b/tpl/data/data_test.go index bcdddc9f4..9b21dc8aa 100644 --- a/tpl/data/data_test.go +++ b/tpl/data/data_test.go @@ -21,7 +21,6 @@ import ( "strings" "testing" - "github.com/spf13/viper" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) @@ -29,7 +28,7 @@ import ( func TestGetCSV(t *testing.T) { t.Parallel() - ns := New(newDeps(viper.New())) + ns := newTestNs() for i, test := range []struct { sep string @@ -123,7 +122,7 @@ func TestGetCSV(t *testing.T) { func TestGetJSON(t *testing.T) { t.Parallel() - ns := New(newDeps(viper.New())) + ns := newTestNs() for i, test := range []struct { url string |