| $ENV{KALAMAR_VERSION} = '0.47.999'; |
| my $t = Test::Mojo->new('Kalamar'); |
| $t->app->mode('production'); |
| ->text_is('title', 'KorAP - Corpus Analysis Platform') |
| ->text_is('h1 span', 'KorAP - Corpus Analysis Platform') |
| $t->get_ok('/' => { 'Accept-Language' => 'de-DE, en-US, en' }) |
| ->text_is('title', 'KorAP - Korpusanalyseplattform der nächsten Generation') |
| ->text_is('h1 span', 'KorAP - Korpusanalyseplattform der nächsten Generation') |
| $t->get_ok('/' => { 'Accept-Language' => 'ro, en' }) |
| ->text_is('title', 'KorAP - Platformă pentru analiza corpusului') |
| ->text_is('h1 span', 'KorAP - Platformă pentru analiza corpusului') |
| $t->get_ok('/' => { 'Accept-Language' => 'hu, en' }) |
| ->text_is('title', 'KorAP - Korpuszelemző platform') |
| ->text_is('h1 span', 'KorAP - Korpuszelemző platform') |