aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_display.t
diff options
context:
space:
mode:
Diffstat (limited to 't/app/controller/report_display.t')
-rw-r--r--t/app/controller/report_display.t8
1 files changed, 5 insertions, 3 deletions
diff --git a/t/app/controller/report_display.t b/t/app/controller/report_display.t
index ee9172d11..2afff21dd 100644
--- a/t/app/controller/report_display.t
+++ b/t/app/controller/report_display.t
@@ -154,21 +154,21 @@ foreach my $meta (
meta => 'Reported anonymously at 15:47, Saturday 16 April 2011'
},
{
- anonymous => 'f',
+ anonymous => 't',
category => 'Roads',
service => '',
meta =>
'Reported in the Roads category anonymously at 15:47, Saturday 16 April 2011'
},
{
- anonymous => 'f',
+ anonymous => 't',
category => '',
service => 'Transport service',
meta =>
'Reported by Transport service anonymously at 15:47, Saturday 16 April 2011'
},
{
- anonymous => 'f',
+ anonymous => 't',
category => 'Roads',
service => 'Transport service',
meta =>
@@ -182,6 +182,8 @@ foreach my $meta (
$report->update;
subtest "test correct problem meta information" => sub {
$mech->get_ok("/report/$report_id");
+
+ is $mech->extract_problem_meta, $meta->{meta};
};
}