summaryrefslogtreecommitdiffstats
path: root/helpers/content_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/content_test.go')
-rw-r--r--helpers/content_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/helpers/content_test.go b/helpers/content_test.go
index 573c1c90d..515b788f1 100644
--- a/helpers/content_test.go
+++ b/helpers/content_test.go
@@ -19,12 +19,11 @@ import (
"strings"
"testing"
+ "github.com/gohugoio/hugo/config"
"github.com/spf13/afero"
"github.com/gohugoio/hugo/common/loggers"
- "github.com/spf13/viper"
-
qt "github.com/frankban/quicktest"
)
@@ -103,7 +102,7 @@ func TestBytesToHTML(t *testing.T) {
}
func TestNewContentSpec(t *testing.T) {
- cfg := viper.New()
+ cfg := config.New()
c := qt.New(t)
cfg.Set("summaryLength", 32)