diff options
Diffstat (limited to 'source/filesystem_test.go')
-rw-r--r-- | source/filesystem_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/filesystem_test.go b/source/filesystem_test.go index 5dc187978..e6dc9ce16 100644 --- a/source/filesystem_test.go +++ b/source/filesystem_test.go @@ -19,6 +19,8 @@ import ( "runtime" "testing" + "github.com/gohugoio/hugo/config" + "github.com/gohugoio/hugo/modules" "github.com/gohugoio/hugo/langs" @@ -28,8 +30,6 @@ import ( qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" - - "github.com/spf13/viper" ) func TestEmptySourceFilesystem(t *testing.T) { @@ -76,8 +76,8 @@ func TestUnicodeNorm(t *testing.T) { } } -func newTestConfig() *viper.Viper { - v := viper.New() +func newTestConfig() config.Provider { + v := config.New() v.Set("contentDir", "content") v.Set("dataDir", "data") v.Set("i18nDir", "i18n") |