diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-07-20 10:53:04 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-07-20 10:53:04 +0200 |
commit | 3a5c4c275d3f51352ebfe6eaf018cf82579a3ab2 (patch) | |
tree | 5378f3e3db3124d4299358339a373e8e38f80282 /t/24-past-visibility.t | |
parent | 0d4a178666011eb2f10d9fe1f28ea92b589681b8 (diff) |
Tests: perltidy
Diffstat (limited to 't/24-past-visibility.t')
-rw-r--r-- | t/24-past-visibility.t | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/t/24-past-visibility.t b/t/24-past-visibility.t index 06ec13e..5c084b2 100644 --- a/t/24-past-visibility.t +++ b/t/24-past-visibility.t @@ -117,11 +117,13 @@ sub test_history_visibility { = "history vis=$opt{set_past_visibility} journey=$jid vis=$journey->{effective_visibility_str}"; if ( $opt{public} ) { - $t->get_ok('/p/test1')->status_is(200) + $t->get_ok('/p/test1') + ->status_is(200) ->content_like( qr{DPN\s*667}, "public $desc" ); } else { - $t->get_ok('/p/test1')->status_is(200) + $t->get_ok('/p/test1') + ->status_is(200) ->content_unlike( qr{DPN\s*667}, "public $desc" ); } @@ -131,11 +133,13 @@ sub test_history_visibility { ); if ( $opt{self} ) { - $t->get_ok('/p/test1')->status_is(200) + $t->get_ok('/p/test1') + ->status_is(200) ->content_like( qr{DPN\s*667}, "self $desc" ); } else { - $t->get_ok('/p/test1')->status_is(200) + $t->get_ok('/p/test1') + ->status_is(200) ->content_unlike( qr{DPN\s*667}, "self $desc" ); } @@ -146,11 +150,13 @@ sub test_history_visibility { ); if ( $opt{followers} ) { - $t->get_ok('/p/test1')->status_is(200) + $t->get_ok('/p/test1') + ->status_is(200) ->content_like( qr{DPN\s*667}, "follower $desc" ); } else { - $t->get_ok('/p/test1')->status_is(200) + $t->get_ok('/p/test1') + ->status_is(200) ->content_unlike( qr{DPN\s*667}, "follower $desc" ); } @@ -161,11 +167,13 @@ sub test_history_visibility { ); if ( $opt{travelynx} ) { - $t->get_ok('/p/test1')->status_is(200) + $t->get_ok('/p/test1') + ->status_is(200) ->content_like( qr{DPN\s*667}, "travelynx $desc" ); } else { - $t->get_ok('/p/test1')->status_is(200) + $t->get_ok('/p/test1') + ->status_is(200) ->content_unlike( qr{DPN\s*667}, "travelynx $desc" ); } |