Made 404.html error template a little more generic

The fact that an info message was moved into C++ code is temporary
since it will be moved to a message resource file soon.
This commit is contained in:
Veloman Yunkan
2022-03-24 17:22:41 +04:00
committed by Matthieu Gautier
parent 8cfcf2ea86
commit ae60ba806b
3 changed files with 9 additions and 14 deletions

View File

@ -530,7 +530,6 @@ TEST_F(ServerTest, 404WithBodyTesting)
{ /* url */ "/ROOT/random?content=non-existent-book",
expected_body==R"(
<h1>Not Found</h1>
//EOLWHITESPACEMARKER
<p>
No such book: non-existent-book
</p>
@ -539,7 +538,6 @@ TEST_F(ServerTest, 404WithBodyTesting)
{ /* url */ "/ROOT/suggest?content=no-such-book&term=whatever",
expected_body==R"(
<h1>Not Found</h1>
//EOLWHITESPACEMARKER
<p>
No such book: no-such-book
</p>