Introduced experimental API method and fixture system
Change-Id: Iffb6d3c4f7f21bcf40c904d40d137b206a3ba266
diff --git a/t/intro.t b/t/intro.t
index fd48b43..ed8181a 100644
--- a/t/intro.t
+++ b/t/intro.t
@@ -27,6 +27,7 @@
override => 1
});
+
$t->get_ok('/')
->status_is(200)
->text_is('title', 'KorAP - Corpus Analysis Platform')
@@ -43,11 +44,4 @@
->text_is('title', 'KorAP: 404 - Page not found')
->text_is('h1 span', 'KorAP: 404 - Page not found');
-$t->get_ok('/?q=hui')
- ->status_is(200)
- ->text_is('title', 'KorAP: Find »hui« with Poliqarp')
- ->element_exists('meta[name="DC.title"][content="KorAP: Find »hui« with Poliqarp"]')
- ->element_exists('body[itemscope][itemtype="http://schema.org/SearchResultsPage"]')
- ;
-
done_testing();