diff options
Diffstat (limited to 't')
| -rw-r--r-- | t/cobrand/fixamingata.t | 12 | 
1 files changed, 12 insertions, 0 deletions
diff --git a/t/cobrand/fixamingata.t b/t/cobrand/fixamingata.t index d1f1dcec4..9644e0f44 100644 --- a/t/cobrand/fixamingata.t +++ b/t/cobrand/fixamingata.t @@ -106,6 +106,18 @@ subtest "Test ajax decimal points" => sub {      };  }; +subtest "check user details always shown" => sub { +    FixMyStreet::override_config { +        ALLOWED_COBRANDS => [ 'fixamingata' ], +    }, sub { +        $user2->update({ from_body => $body }); +        $mech->get_ok('/report/' . $report->id); +        my $update_meta = $mech->extract_update_metas; +        like $update_meta->[0], qr/Body \(Commenter\) /; +        $user2->update({ from_body => undef }); +    }; +}; +  END {      ok $mech->host("www.fixmystreet.com"), "change host back";      done_testing();  | 
