diff options
Diffstat (limited to 'markup/org/convert_test.go')
-rw-r--r-- | markup/org/convert_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/markup/org/convert_test.go b/markup/org/convert_test.go index 96c388457..e3676fc34 100644 --- a/markup/org/convert_test.go +++ b/markup/org/convert_test.go @@ -16,8 +16,9 @@ package org import ( "testing" + "github.com/gohugoio/hugo/config" + "github.com/gohugoio/hugo/common/loggers" - "github.com/spf13/viper" "github.com/gohugoio/hugo/markup/converter" @@ -28,7 +29,7 @@ func TestConvert(t *testing.T) { c := qt.New(t) p, err := Provider.New(converter.ProviderConfig{ Logger: loggers.NewErrorLogger(), - Cfg: viper.New(), + Cfg: config.New(), }) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) |