diff --git a/test/server.cpp b/test/server.cpp index e82dd676..ca44875d 100644 --- a/test/server.cpp +++ b/test/server.cpp @@ -533,11 +533,15 @@ std::string TestContentIn404HtmlResponse::taskbarLinks() const if ( bookName.empty() ) return ""; - return R"(
)" }, + { /* url */ "/ROOT/zimfile/invalid-article?userlang=hy", + expected_page_title=="Սխալ հասցե" && + book_name=="zimfile" && + book_title=="Ray Charles" && + expected_body==R"( ++ Սխալ հասցե՝ /ROOT/zimfile/invalid-article +
++ Make a full text search for invalid-article +
+)" }, + { /* url */ "/ROOT/raw/no-such-book/meta/Title", expected_body==R"(