mirror of https://github.com/kiwix/libkiwix.git
Extend unittest to check 404 error on wrong raw endpoints.
Check that `/raw` endpoint behaves correctly with wrong book name or wrong kind.
This commit is contained in:
parent
0112e6102d
commit
1705f938b5
|
@ -296,6 +296,9 @@ const char* urls404[] = {
|
|||
"/ROOT/catch/external",
|
||||
"/ROOT/zimfile/A/non-existent-article",
|
||||
|
||||
"/ROOT/raw/non-existent-book/meta/Title",
|
||||
"/ROOT/raw/zimfile/wrong-kind/Foo",
|
||||
|
||||
// zimfile has no Favicon nor Illustration_48x48@1 meta item
|
||||
"/ROOT/raw/zimfile/meta/Favicon",
|
||||
"/ROOT/raw/zimfile/meta/Illustration_48x48@1",
|
||||
|
|
Loading…
Reference in New Issue