Fix bug where missing documentation raises exceptions in Mojo >= 9.0

Change-Id: I569d26f039c0951d603eb413c7dc138d7d0c1c6b
diff --git a/t/doc.t b/t/doc.t
index ebb3c2b..870dcff 100644
--- a/t/doc.t
+++ b/t/doc.t
@@ -10,6 +10,11 @@
   }
 });
 
+# Bug 2021-06-11
+$t->get_ok('/doc/ql/wildcards?cat=1')
+  ->status_is(404)
+  ;
+
 # Embedding
 $t->get_ok('/doc/ql/poliqarp-plus')
   ->status_is(200)
@@ -52,7 +57,6 @@
   ->text_is("title", "KorAP: Poliqarp+")
   ->text_is('main section > h3', 'Einfache Segmente');
 
-
 $t->get_ok('/doc/ql/annis' => { 'Accept-Language' => 'en-US, en, de-DE' })
   ->status_is(200)
   ->text_is("title", "KorAP: Annis QL");