summaryrefslogtreecommitdiffstats
path: root/commands/commands_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-03-11 08:07:37 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-03-14 09:16:33 +0100
commitcebd886ac137b9832ff26781d3d13ecf69d608a7 (patch)
tree5d6df2d65cc22b8b3323c9d8b6b057e641062a7c /commands/commands_test.go
parent38f778cfccd0b16d6dc9a90a04fc22a7f573ae49 (diff)
commands: Improve server tests
Updates #9647
Diffstat (limited to 'commands/commands_test.go')
-rw-r--r--commands/commands_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/commands_test.go b/commands/commands_test.go
index b89e317c2..43c7f8520 100644
--- a/commands/commands_test.go
+++ b/commands/commands_test.go
@@ -366,6 +366,8 @@ URL = "hugocloud://hugotestbucket"
writeFile(t, filepath.Join(d, "config", "testing", "params.toml"), `myparam="paramtesting"`)
writeFile(t, filepath.Join(d, "config", "production", "params.toml"), `myparam="paramproduction"`)
+ writeFile(t, filepath.Join(d, "static", "myfile.txt"), `Hello World!`)
+
writeFile(t, filepath.Join(d, contentDir, "p1.md"), `
---
title: "P1"