aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand/hart.t
blob: f4a2473eb0dced4bdffae12de27b20913a18ce50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
use warnings;
use Test::More;

use FixMyStreet::TestMech;
my $mech = FixMyStreet::TestMech->new;

FixMyStreet::override_config {
    ALLOWED_COBRANDS => [ 'hart' ],
}, sub {
    ok $mech->host("hart.fixmystreet.com"), "change host to hart";
    $mech->get_ok('/');
    $mech->content_like( qr/Hart\b/ );
};

done_testing();