aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_display.t
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-01-06 10:26:47 +0000
committerStruan Donald <struan@exo.org.uk>2012-01-06 10:26:47 +0000
commit218df95e31b42374dc390f8e8abe9c49ef62c2b6 (patch)
tree0dfc956ffe388457ff5097885f67d05964c42edd /t/app/controller/report_display.t
parent86e40c6cc92aaebec7a9d86b1645d37dbd50feb8 (diff)
fix date format for dates that are now from a previous year
Diffstat (limited to 't/app/controller/report_display.t')
-rw-r--r--t/app/controller/report_display.t18
1 files changed, 9 insertions, 9 deletions
diff --git a/t/app/controller/report_display.t b/t/app/controller/report_display.t
index c7455a99b..548580fe1 100644
--- a/t/app/controller/report_display.t
+++ b/t/app/controller/report_display.t
@@ -103,7 +103,7 @@ subtest "test a good report" => sub {
is $mech->uri->path, "/report/$report_id", "at /report/$report_id";
is $mech->extract_problem_title, 'Test 2', 'problem title';
is $mech->extract_problem_meta,
- 'Reported by Test User at 15:47, Saturday 16 April 2011',
+ 'Reported by Test User at 15:47, Sat 16 April 2011',
'correct problem meta information';
$mech->content_contains('Test 2 Detail');
@@ -124,55 +124,55 @@ foreach my $meta (
anonymous => 'f',
category => 'Other',
service => '',
- meta => 'Reported by Test User at 15:47, Saturday 16 April 2011'
+ meta => 'Reported by Test User at 15:47, Sat 16 April 2011'
},
{
anonymous => 'f',
category => 'Roads',
service => '',
meta =>
-'Reported in the Roads category by Test User at 15:47, Saturday 16 April 2011'
+'Reported in the Roads category by Test User at 15:47, Sat 16 April 2011'
},
{
anonymous => 'f',
category => '',
service => 'Transport service',
meta =>
-'Reported by Transport service by Test User at 15:47, Saturday 16 April 2011'
+'Reported by Transport service by Test User at 15:47, Sat 16 April 2011'
},
{
anonymous => 'f',
category => 'Roads',
service => 'Transport service',
meta =>
-'Reported by Transport service in the Roads category by Test User at 15:47, Saturday 16 April 2011'
+'Reported by Transport service in the Roads category by Test User at 15:47, Sat 16 April 2011'
},
{
anonymous => 't',
category => 'Other',
service => '',
- meta => 'Reported anonymously at 15:47, Saturday 16 April 2011'
+ meta => 'Reported anonymously at 15:47, Sat 16 April 2011'
},
{
anonymous => 't',
category => 'Roads',
service => '',
meta =>
-'Reported in the Roads category anonymously at 15:47, Saturday 16 April 2011'
+'Reported in the Roads category anonymously at 15:47, Sat 16 April 2011'
},
{
anonymous => 't',
category => '',
service => 'Transport service',
meta =>
-'Reported by Transport service anonymously at 15:47, Saturday 16 April 2011'
+'Reported by Transport service anonymously at 15:47, Sat 16 April 2011'
},
{
anonymous => 't',
category => 'Roads',
service => 'Transport service',
meta =>
-'Reported by Transport service in the Roads category anonymously at 15:47, Saturday 16 April 2011'
+'Reported by Transport service in the Roads category anonymously at 15:47, Sat 16 April 2011'
},
)
{