summaryrefslogtreecommitdiffstats
path: root/htesting/test_structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'htesting/test_structs.go')
-rw-r--r--htesting/test_structs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/htesting/test_structs.go b/htesting/test_structs.go
index 168c848aa..f5aa6ff25 100644
--- a/htesting/test_structs.go
+++ b/htesting/test_structs.go
@@ -39,7 +39,7 @@ func (t testSite) Language() *langs.Language {
// NewTestHugoSite creates a new minimal test site.
func NewTestHugoSite() hugo.Site {
return testSite{
- h: hugo.NewInfo(),
+ h: hugo.NewInfo(hugo.EnvironmentProduction),
l: langs.NewLanguage("en", newTestConfig()),
}
}