commands: Improve server tests

Updates #9647
This commit is contained in:
Bjørn Erik Pedersen 2022-03-11 08:07:37 +01:00
parent 38f778cfcc
commit cebd886ac1
2 changed files with 73 additions and 11 deletions

View file

@ -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"