aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_updates.t
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-01-10 17:15:24 +0000
committerStruan Donald <struan@exo.org.uk>2012-01-10 17:15:24 +0000
commit6228cc7aa55defdb694d2de05d2a2be282955fe6 (patch)
tree1392fb78e01bd6ab28108de42ccd5f8097340dc8 /t/app/controller/report_updates.t
parent22c0a7367193e947af70ab1bbdfb3268fd1ec3c6 (diff)
parent1955a60586ecd4d6dc7d72de31d01d28230fbb8b (diff)
Merge remote branch 'origin/master' into reportemptyhomes
Diffstat (limited to 't/app/controller/report_updates.t')
-rw-r--r--t/app/controller/report_updates.t16
1 files changed, 8 insertions, 8 deletions
diff --git a/t/app/controller/report_updates.t b/t/app/controller/report_updates.t
index 5719b13e3..39cb5d6d8 100644
--- a/t/app/controller/report_updates.t
+++ b/t/app/controller/report_updates.t
@@ -81,7 +81,7 @@ for my $test (
anonymous => 'f',
mark_fixed => 'false',
mark_open => 'false',
- meta => 'Posted by Other User at 15:47, Saturday 16 April 2011',
+ meta => 'Posted by Other User at 15:47, Sat 16 April 2011',
},
{
description => 'blank user, anon is false',
@@ -89,7 +89,7 @@ for my $test (
anonymous => 'f',
mark_fixed => 'false',
mark_open => 'false',
- meta => 'Posted anonymously at 15:47, Saturday 16 April 2011',
+ meta => 'Posted anonymously at 15:47, Sat 16 April 2011',
},
{
description => 'named user, anon is true',
@@ -97,7 +97,7 @@ for my $test (
anonymous => 't',
mark_fixed => 'false',
mark_open => 'false',
- meta => 'Posted anonymously at 15:47, Saturday 16 April 2011',
+ meta => 'Posted anonymously at 15:47, Sat 16 April 2011',
},
{
description => 'named user, anon is true, fixed',
@@ -106,7 +106,7 @@ for my $test (
mark_fixed => 'true',
mark_open => 'false',
meta =>
-'Posted anonymously at 15:47, Saturday 16 April 2011, marked as fixed',
+'Posted anonymously at 15:47, Sat 16 April 2011, marked as fixed',
},
{
description => 'named user, anon is true, reopened',
@@ -114,7 +114,7 @@ for my $test (
anonymous => 't',
mark_fixed => 'false',
mark_open => 'true',
- meta => 'Posted anonymously at 15:47, Saturday 16 April 2011, reopened',
+ meta => 'Posted anonymously at 15:47, Sat 16 April 2011, reopened',
}
)
{
@@ -185,9 +185,9 @@ subtest "several updates shown in correct order" => sub {
my $meta = $mech->extract_update_metas;
is scalar @$meta, 3, 'number of updates';
- is $meta->[0], 'Posted by Other User at 12:23, Thursday 10 March 2011', 'first update';
- is $meta->[1], 'Posted by Main User at 12:23, Thursday 10 March 2011', 'second update';
- is $meta->[2], 'Posted anonymously at 08:12, Tuesday 15 March 2011, marked as fixed', 'third update';
+ is $meta->[0], 'Posted by Other User at 12:23, Thu 10 March 2011', 'first update';
+ is $meta->[1], 'Posted by Main User at 12:23, Thu 10 March 2011', 'second update';
+ is $meta->[2], 'Posted anonymously at 08:12, Tue 15 March 2011, marked as fixed', 'third update';
};
for my $test (