diff options
author | Struan Donald <struan@exo.org.uk> | 2011-05-23 09:08:12 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-05-23 09:08:12 +0100 |
commit | 55d0afab34953d266824448d279d72787bfd6e07 (patch) | |
tree | 9640df781c74088cb512c0d1ca4f9c8ee5fd950b /t/app/controller/report_display.t | |
parent | c62870edf51e1bfe04ad11256bd7ba8b5a4ee5d5 (diff) | |
parent | 8fbb9539e8ada7faf6c54c40bda7d059bdfd0c12 (diff) |
Merge branch 'migrate_to_catalyst' of ssh://git.mysociety.org/data/git/public/fixmystreet into migrate_to_catalyst
Diffstat (limited to 't/app/controller/report_display.t')
-rw-r--r-- | t/app/controller/report_display.t | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/app/controller/report_display.t b/t/app/controller/report_display.t index aa7e507d9..1f857a387 100644 --- a/t/app/controller/report_display.t +++ b/t/app/controller/report_display.t @@ -190,6 +190,14 @@ foreach my $meta ( for my $test ( { + description => 'new report', + date => DateTime->now, + state => 'confirmed', + banner_id => '', + banner_text => '', + fixed => 0 + }, + { description => 'old report', date => DateTime->new( year => 2009, @@ -230,6 +238,7 @@ for my $test ( ) { subtest "banner for $test->{description}" => sub { $report->confirmed( $test->{date}->ymd . ' ' . $test->{date}->hms ); + $report->lastupdate( $test->{date}->ymd . ' ' . $test->{date}->hms ); $report->state( $test->{state} ); $report->update; |