summaryrefslogtreecommitdiffstats
path: root/tpl/data/init_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/data/init_test.go')
-rw-r--r--tpl/data/init_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/data/init_test.go b/tpl/data/init_test.go
index fedce8e5c..9174d42a6 100644
--- a/tpl/data/init_test.go
+++ b/tpl/data/init_test.go
@@ -17,10 +17,10 @@ import (
"testing"
qt "github.com/frankban/quicktest"
+ "github.com/gohugoio/hugo/config"
"github.com/gohugoio/hugo/htesting/hqt"
"github.com/gohugoio/hugo/langs"
"github.com/gohugoio/hugo/tpl/internal"
- "github.com/spf13/viper"
)
func TestInit(t *testing.T) {
@@ -28,7 +28,7 @@ func TestInit(t *testing.T) {
var found bool
var ns *internal.TemplateFuncsNamespace
- v := viper.New()
+ v := config.New()
v.Set("contentDir", "content")
langs.LoadLanguageSettings(v, nil)