diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-23 16:07:43 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-23 16:07:43 +0100 |
commit | 46848a1dd7a7e33cb8953df334f434d0450b5651 (patch) | |
tree | 676968cb3e7b4eddffcc63572a2067593ed1fc4d /t/app | |
parent | 159fa8ad9e2427d8b20586baec4c260a0c71b57c (diff) |
in progress banner
Diffstat (limited to 't/app')
-rw-r--r-- | t/app/controller/report_display.t | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/t/app/controller/report_display.t b/t/app/controller/report_display.t index 49b524b44..fc844e31c 100644 --- a/t/app/controller/report_display.t +++ b/t/app/controller/report_display.t @@ -259,6 +259,30 @@ for my $test ( banner_text => 'This problem has been closed.', fixed => 0 }, + { + description => 'investigating report', + date => DateTime->now, + state => 'investigating', + banner_id => 'progress', + banner_text => 'This problem is in progress.', + fixed => 0 + }, + { + description => 'planned report', + date => DateTime->now, + state => 'planned', + banner_id => 'progress', + banner_text => 'This problem is in progress.', + fixed => 0 + }, + { + description => 'in progressreport', + date => DateTime->now, + state => 'in progress', + banner_id => 'progress', + banner_text => 'This problem is in progress.', + fixed => 0 + }, ) { subtest "banner for $test->{description}" => sub { $report->confirmed( $test->{date}->ymd . ' ' . $test->{date}->hms ); |