diff options
Diffstat (limited to 'langs/language_test.go')
-rw-r--r-- | langs/language_test.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/langs/language_test.go b/langs/language_test.go index 97abe77cc..8557d781a 100644 --- a/langs/language_test.go +++ b/langs/language_test.go @@ -16,13 +16,14 @@ package langs import ( "testing" + "github.com/gohugoio/hugo/config" + qt "github.com/frankban/quicktest" - "github.com/spf13/viper" ) func TestGetGlobalOnlySetting(t *testing.T) { c := qt.New(t) - v := viper.New() + v := config.New() v.Set("defaultContentLanguageInSubdir", true) v.Set("contentDir", "content") v.Set("paginatePath", "page") @@ -37,7 +38,7 @@ func TestGetGlobalOnlySetting(t *testing.T) { func TestLanguageParams(t *testing.T) { c := qt.New(t) - v := viper.New() + v := config.New() v.Set("p1", "p1cfg") v.Set("contentDir", "content") |