aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2013-09-09 12:00:48 +0100
committerEdmund von der Burg <evdb@mysociety.org>2013-09-10 15:40:08 +0100
commit7f575d1cf3af5673efb6996beafbe91e0e505f72 (patch)
tree506fdb883cd6b785beef65b919ac69ebda90ba2d
parent5357eeadf22d11684bae8c4e5b36afbba6415954 (diff)
Handle user already existing (as it may in dev)
-rw-r--r--t/cobrand/zurich.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t
index cb0a312cc..77a754cd1 100644
--- a/t/cobrand/zurich.t
+++ b/t/cobrand/zurich.t
@@ -156,6 +156,7 @@ $mech->clear_emails_ok;
$mech->log_out_ok;
$user = $mech->log_in_ok( 'sdm1@example.org') ;
+$user->update({ from_body => undef });
$mech->get_ok( '/admin' );
is $mech->uri->path, '/my', "got sent to /my";
$user->from_body( 3 );