diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-03-02 01:05:00 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-03-02 01:05:00 +0000 |
commit | 55409fb82ab2d75216255f77938632cb54d47fef (patch) | |
tree | d649b234d9fb9b8ef32a7ba85ca7192dbaf30670 /t/app/controller/admin.t | |
parent | 7b373378a67a760e5486393c031cb1d9ac265df1 (diff) |
Get test suite all passing again, and fix bug displaying partial photo and my stupid use of c as a variable.
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r-- | t/app/controller/admin.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index 0a6f09585..d8a1c24a1 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -79,6 +79,8 @@ my $alert = FixMyStreet::App->model('DB::Alert')->find_or_create( subtest 'check summary counts' => sub { my $problems = FixMyStreet::App->model('DB::Problem')->search( { state => { -in => [qw/confirmed fixed closed investigating planned/, 'in progress', 'fixed - user', 'fixed - council'] } } ); + ok $mech->host('www.fixmystreet.com'); + my $problem_count = $problems->count; $problems->update( { cobrand => '' } ); |