diff --git a/website/camweb_test.go b/website/camweb_test.go index 487560485..5d6534ba4 100644 --- a/website/camweb_test.go +++ b/website/camweb_test.go @@ -103,10 +103,10 @@ func TestDocHandler(t *testing.T) { wantSubstr string }{ // Test that the title tag is constructed from the h1 element - {"/doc/uses", http.StatusOK, - "Use Cases - Perkeep"}, + {"/website/testdata/sample", http.StatusOK, + "Lorem Ipsum - Perkeep"}, // Test that an html extension redirects to the base path - {"/doc/uses.html", 302, "Found"}, + {"/website/testdata/sample.html", 302, "Found"}, } for _, tt := range tests { diff --git a/website/testdata/sample.md b/website/testdata/sample.md new file mode 100644 index 000000000..976d0ffa5 Binary files /dev/null and b/website/testdata/sample.md differ