diff options
Diffstat (limited to 'modules/client_test.go')
-rw-r--r-- | modules/client_test.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/client_test.go b/modules/client_test.go index ea910580f..d727c4586 100644 --- a/modules/client_test.go +++ b/modules/client_test.go @@ -51,12 +51,16 @@ github.com/gohugoio/hugoTestModules1_darwin/modh2_2@v1.4.0 github.com/gohugoio/h themesDir := filepath.Join(workingDir, "themes") err = os.Mkdir(themesDir, 0o777) c.Assert(err, qt.IsNil) + publishDir := filepath.Join(workingDir, "public") + err = os.Mkdir(publishDir, 0o777) + c.Assert(err, qt.IsNil) ccfg := ClientConfig{ Fs: hugofs.Os, - WorkingDir: workingDir, CacheDir: filepath.Join(workingDir, "modcache"), + WorkingDir: workingDir, ThemesDir: themesDir, + PublishDir: publishDir, Exec: hexec.New(security.DefaultConfig), } |