diff options
author | Matthew Somerville <matthew@mysociety.org> | 2016-01-15 14:56:00 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2016-01-15 14:56:00 +0000 |
commit | 3d5e0210feacf96e21e1916ab0df84b83f5f05e2 (patch) | |
tree | c9f82ab699f4f4b589345a55a70880ebf5089c90 /t/app/controller/admin.t | |
parent | 0e257b2201998d428b3624a15dfeeb03a5559371 (diff) | |
parent | b8685054be0e16bc836dc568c0687a6f86400f38 (diff) |
Merge branch '1300-multiple-update-photos'
Diffstat (limited to 't/app/controller/admin.t')
-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') |