diff --git a/test/server.cpp b/test/server.cpp index bb963b7b2..9c4d73075 100644 --- a/test/server.cpp +++ b/test/server.cpp @@ -650,3 +650,21 @@ TEST_F(LibraryServerTest, catalog_root_xml) "\n" ); } + +TEST_F(LibraryServerTest, catalog_searchdescription_xml) +{ + const auto r = zfs1_->GET("/catalog/searchdescription.xml"); + EXPECT_EQ(r->status, 200); + EXPECT_EQ(r->body, + "\n" + "\n" + " Zim catalog search\n" + " Search zim files in the catalog.\n" + " \n" + "\n" + ); +}