diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-08-16 21:34:46 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-08-16 21:34:46 +0200 |
commit | 479ded0c729dfce069d4f204297b6b27df0739d2 (patch) | |
tree | 4493e625a72b510a75bce63b8377b2d6c9a9aec3 /t/23-journey-visibility.t | |
parent | 654bde9278ed67d98f218d58f5fc8579a633729b (diff) |
update tests for 61b33446cd255235b6ae19823461322d7607ab59
Diffstat (limited to 't/23-journey-visibility.t')
-rw-r--r-- | t/23-journey-visibility.t | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/t/23-journey-visibility.t b/t/23-journey-visibility.t index 0cff11c..2124940 100644 --- a/t/23-journey-visibility.t +++ b/t/23-journey-visibility.t @@ -115,7 +115,7 @@ sub test_journey_visibility { } else { $t->get_ok("/p/test1/j/$jid")->status_is(404) - ->content_like(qr{Zugfahrt nicht gefunden.}); + ->content_like(qr{Fahrt nicht gefunden.}); } if ( $opt{with_token} ) { @@ -124,7 +124,7 @@ sub test_journey_visibility { } else { $t->get_ok("/p/test1/j/$jid$token")->status_is(404) - ->content_like(qr{Zugfahrt nicht gefunden.}); + ->content_like(qr{Fahrt nicht gefunden.}); } login( @@ -139,7 +139,7 @@ sub test_journey_visibility { } else { $t->get_ok("/p/test1/j/$jid")->status_is(404) - ->content_like(qr{Zugfahrt nicht gefunden.}); + ->content_like(qr{Fahrt nicht gefunden.}); } # users can see their own status with token if visibility is >= unlisted @@ -149,7 +149,7 @@ sub test_journey_visibility { } else { $t->get_ok("/p/test1/j/$jid$token")->status_is(404) - ->content_like(qr{Zugfahrt nicht gefunden.}); + ->content_like(qr{Fahrt nicht gefunden.}); } logout(); @@ -165,7 +165,7 @@ sub test_journey_visibility { } else { $t->get_ok("/p/test1/j/$jid")->status_is(404) - ->content_like(qr{Zugfahrt nicht gefunden.}); + ->content_like(qr{Fahrt nicht gefunden.}); } # uid2 can see uid1 with token if visibility is >= unlisted @@ -175,7 +175,7 @@ sub test_journey_visibility { } else { $t->get_ok("/p/test1/j/$jid$token")->status_is(404) - ->content_like(qr{Zugfahrt nicht gefunden.}); + ->content_like(qr{Fahrt nicht gefunden.}); } logout(); @@ -191,7 +191,7 @@ sub test_journey_visibility { } else { $t->get_ok("/p/test1/j/$jid")->status_is(404) - ->content_like(qr{Zugfahrt nicht gefunden.}); + ->content_like(qr{Fahrt nicht gefunden.}); } # uid3 can see uid1 with token if visibility is >= unlisted @@ -201,7 +201,7 @@ sub test_journey_visibility { } else { $t->get_ok("/p/test1/j/$jid$token")->status_is(404) - ->content_like(qr{Zugfahrt nicht gefunden.}); + ->content_like(qr{Fahrt nicht gefunden.}); } logout(); |