Updated annotation documentation
Change-Id: I0f797ca70e0bbe6964a19df00aee8030734b0b55
diff --git a/t/doc.t b/t/doc.t
index 52e2f1a..3f4d0c1 100644
--- a/t/doc.t
+++ b/t/doc.t
@@ -58,6 +58,14 @@
->status_is(200)
->text_is('#segments pre.query.tutorial:nth-of-type(1) code', 'Baum');
+# Check data
+$t->get_ok('/doc/data/annotation' => { 'Accept-Language' => 'en-US, en, de-DE' })
+ ->status_is(200)
+ ->text_is('#tutorial-top', 'Annotations');
+$t->get_ok('/doc/data/annotation' => { 'Accept-Language' => 'de-DE, en-US, en' })
+ ->status_is(200)
+ ->text_is('#tutorial-top', 'Annotationen');
+
my $app = $t->app;
$app->plugin(