diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-07-20 10:52:53 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-07-20 10:52:53 +0200 |
commit | 0d4a178666011eb2f10d9fe1f28ea92b589681b8 (patch) | |
tree | 26d0f79685ba4b3214c6b4322a89c7a3dea26ead /t/01-static.t | |
parent | d11d0d5cb53896ea46de5b9186b481d678b5ad93 (diff) |
Tests: Hard-code German locale
Diffstat (limited to 't/01-static.t')
-rw-r--r-- | t/01-static.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/01-static.t b/t/01-static.t index 3727f1e..4247225 100644 --- a/t/01-static.t +++ b/t/01-static.t @@ -15,6 +15,8 @@ require "$FindBin::Bin/../index.pl"; my $t = Test::Mojo->new('Travelynx'); +$t->ua->on( start => sub { $_[1]->req->headers->accept_language('de-DE') } ); + $t->get_ok('/')->status_is(200); $t->text_like( 'a[href="/register"]' => qr{Registrieren} ); $t->text_like( 'a[href="/login"]' => qr{Anmelden} ); |