aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_updates.t
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-09-21 11:41:23 +0100
committerStruan Donald <struan@exo.org.uk>2011-09-21 11:41:23 +0100
commitd941a8c26e943c941f8e37ecbd9a9982dd41cb70 (patch)
tree75ea20fb18e984912ba60e4e499114c83cf431fe /t/app/controller/report_updates.t
parent9da2d7b0e806407e3ed5e5418a53fca64757a39a (diff)
parent77f31e8c96c727ea5ab9cf217cfd924074e8f3ed (diff)
Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet into js-validation
Conflicts: templates/web/default/report/display.html
Diffstat (limited to 't/app/controller/report_updates.t')
-rw-r--r--t/app/controller/report_updates.t22
1 files changed, 11 insertions, 11 deletions
diff --git a/t/app/controller/report_updates.t b/t/app/controller/report_updates.t
index 4469d4003..5719b13e3 100644
--- a/t/app/controller/report_updates.t
+++ b/t/app/controller/report_updates.t
@@ -749,8 +749,8 @@ for my $test (
changed => {
update => 'Update from a registered user'
},
- initial_banner => '',
- endstate_banner => '',
+ initial_banner => undef,
+ endstate_banner => undef,
alert => 0,
anonymous => 0,
},
@@ -775,8 +775,8 @@ for my $test (
changed => {
update => 'Update from a registered user'
},
- initial_banner => '',
- endstate_banner => '',
+ initial_banner => undef,
+ endstate_banner => undef,
alert => 0,
anonymous => 1,
},
@@ -800,8 +800,8 @@ for my $test (
changed => {
update => 'Update from a registered user'
},
- initial_banner => '',
- endstate_banner => '',
+ initial_banner => undef,
+ endstate_banner => undef,
alert => 1,
anonymous => 0,
},
@@ -825,7 +825,7 @@ for my $test (
changed => {
update => 'Update from a registered user'
},
- initial_banner => '',
+ initial_banner => undef,
endstate_banner => ' This problem has been fixed. ',
alert => 1,
anonymous => 0,
@@ -926,7 +926,7 @@ foreach my $test (
fixed => 1,
},
changed => { update => 'Update from owner' },
- initial_banner => '',
+ initial_banner => undef,
initial_state => 'confirmed',
alert => 1, # we signed up for alerts before, do not unsign us
anonymous => 0,
@@ -981,7 +981,7 @@ foreach my $test (
fixed => 1,
},
changed => { update => 'Update from owner' },
- initial_banner => '',
+ initial_banner => undef,
initial_state => 'confirmed',
alert => 1, # we signed up for alerts before, do not unsign us
anonymous => 0,
@@ -1098,7 +1098,7 @@ for my $test (
fixed => 1,
},
changed => { update => 'Update from owner' },
- initial_banner => '',
+ initial_banner => undef,
alert => 1, # we signed up for alerts before, do not unsign us
anonymous => 0,
answered => 0,
@@ -1119,7 +1119,7 @@ for my $test (
fixed => 1,
},
changed => { update => 'Update from owner' },
- initial_banner => '',
+ initial_banner => undef,
alert => 1, # we signed up for alerts before, do not unsign us
anonymous => 0,
answered => 1,