From d070bdf10f14d233288f7318a4e9f7555f070a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 21 Mar 2022 09:35:15 +0100 Subject: Rework the Destination filesystem to make --renderStaticToDisk work See #9626 --- source/filesystem_test.go | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'source') diff --git a/source/filesystem_test.go b/source/filesystem_test.go index 6343c6a41..31e3bdd70 100644 --- a/source/filesystem_test.go +++ b/source/filesystem_test.go @@ -77,15 +77,7 @@ func TestUnicodeNorm(t *testing.T) { } func newTestConfig() config.Provider { - v := config.New() - v.Set("contentDir", "content") - v.Set("dataDir", "data") - v.Set("i18nDir", "i18n") - v.Set("layoutDir", "layouts") - v.Set("archetypeDir", "archetypes") - v.Set("resourceDir", "resources") - v.Set("publishDir", "public") - v.Set("assetDir", "assets") + v := config.NewWithTestDefaults() _, err := langs.LoadLanguageSettings(v, nil) if err != nil { panic(err) -- cgit v1.2.3