mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
XML responses should be taskbarless by default
Unit-tests of search results in XML format should work the same way with a server that would inject a taskbar into HTML responses. This small change actually validates that taskbar injection is disabled for XML responses.
This commit is contained in:
committed by
Matthieu Gautier
parent
3bbbd1b15d
commit
600acb76c7
@ -473,7 +473,7 @@ bool isSubSnippet(std::string subSnippet, const std::string& superSnippet)
|
||||
#define RAYCHARLESZIMID "6f1d19d0-633f-087b-fb55-7ac324ff9baf"
|
||||
#define EXAMPLEZIMID "5dc0b3af-5df2-0925-f0ca-d2bf75e78af6"
|
||||
|
||||
TEST_F(TaskbarlessServerTest, searchResults)
|
||||
TEST_F(ServerTest, searchResultsXML)
|
||||
{
|
||||
struct TestData
|
||||
{
|
||||
|
Reference in New Issue
Block a user