mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
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:
committed by
Matthieu Gautier
parent
8cfcf2ea86
commit
ae60ba806b
@ -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>
|
||||
|
Reference in New Issue
Block a user