diff options
author | Matthew Somerville <matthew@mysociety.org> | 2016-01-08 11:27:12 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2016-01-08 11:27:12 +0000 |
commit | 5c1f5df6e9942f307cade6215074c3d004da14c0 (patch) | |
tree | b9b32123e698c88a517cee0849272c7a02c24912 /t/app | |
parent | 98c4305003a7fdd468822cd45a605dd935943f72 (diff) |
Handle multiple photo rotation/removal in admin.
Diffstat (limited to 't/app')
-rw-r--r-- | t/app/controller/admin.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index 07d72de96..42fd076c7 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -8,8 +8,9 @@ my $mech = FixMyStreet::TestMech->new; my $user = FixMyStreet::App->model('DB::User') - ->find_or_create( { email => 'test@example.com', name => 'Test User' } ); + ->find_or_create( { email => 'test@example.com' } ); ok $user, "created test user"; +$user->update({ name => 'Test User' }); my $user2 = FixMyStreet::App->model('DB::User') |