diff options
author | Bjørn Erik Pedersen <[email protected]> | 2022-03-21 09:35:15 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-04-08 13:26:17 +0200 |
commit | d070bdf10f14d233288f7318a4e9f7555f070a65 (patch) | |
tree | fff8d59f98bdab3027bb45c4e10ca88594332872 /source | |
parent | b08193971a821fc27e549a73120c15e5e5186775 (diff) | |
download | hugo-d070bdf10f14d233288f7318a4e9f7555f070a65.tar.gz hugo-d070bdf10f14d233288f7318a4e9f7555f070a65.zip |
Rework the Destination filesystem to make --renderStaticToDisk work
See #9626
Diffstat (limited to 'source')
-rw-r--r-- | source/filesystem_test.go | 10 |
1 files changed, 1 insertions, 9 deletions
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) |