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:
Matthieu Gautier 2022-01-05 17:36:21 +01:00
parent 0112e6102d
commit 1705f938b5
1 changed files with 3 additions and 0 deletions

View File

@ -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",