mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-24 21:56:05 +02:00
Rework the Destination filesystem to make --renderStaticToDisk work
See #9626
This commit is contained in:
@@ -28,7 +28,7 @@ const robotTxtTemplate = `User-agent: Googlebot
|
||||
func TestRobotsTXTOutput(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
cfg := config.New()
|
||||
cfg := config.NewWithTestDefaults()
|
||||
cfg.Set("baseURL", "http://auth/bub/")
|
||||
cfg.Set("enableRobotsTXT", true)
|
||||
|
||||
|
Reference in New Issue
Block a user