Skip to content
Snippets Groups Projects
Unverified Commit 6e25ffc8 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

visibility test: add a small description of current test

parent bb43a2e8
No related branches found
No related tags found
No related merge requests found
......@@ -98,10 +98,13 @@ sub test_visibility {
. $status->{timestamp}->epoch % 337 . q{-}
. $status->{sched_departure}->epoch;
is( $status->{visibility}, $opt{visibility} );
is( $status->{visibility_str}, $opt{visibility_str} );
is( $status->{effective_visibility}, $opt{effective_visibility} );
is( $status->{effective_visibility_str}, $opt{effective_visibility_str} );
my $desc = "vis=$opt{effective_visibility_str} (from $opt{visibility_str})";
is( $status->{visibility}, $opt{visibility}, $desc );
is( $status->{visibility_str}, $opt{visibility_str}, $desc );
is( $status->{effective_visibility}, $opt{effective_visibility}, $desc );
is( $status->{effective_visibility_str},
$opt{effective_visibility_str}, $desc );
if ( $opt{public} ) {
$t->get_ok('/status/test1')->status_is(200)->content_like(qr{DPN 667});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment