summaryrefslogtreecommitdiffstats
path: root/hugolib/robotstxt_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/robotstxt_test.go')
-rw-r--r--hugolib/robotstxt_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/hugolib/robotstxt_test.go b/hugolib/robotstxt_test.go
index b0a843a7e..b88d2243b 100644
--- a/hugolib/robotstxt_test.go
+++ b/hugolib/robotstxt_test.go
@@ -36,6 +36,7 @@ func TestRobotsTXTOutput(t *testing.T) {
hugofs.InitMemFs()
viper.Set("baseurl", "http://auth/bub/")
+ viper.Set("enableRobotsTXT", true)
s := &Site{
Source: &source.InMemorySource{ByteSource: WEIGHTED_SOURCES},