diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-12-12 13:22:19 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-12-15 00:11:05 +0000 |
commit | 07b07d90cf666a06cb071ceebcecbd21d91e6b60 (patch) | |
tree | 09a71baac637dfe9e87ebc1738b2e2b2f7e9c617 /t/app/controller/admin.t | |
parent | f82abb282f60191ee530c552bf025e509e2a57e8 (diff) |
Rename from_council to from_body, and small related changes.
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r-- | t/app/controller/admin.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index 43684a206..644e488b2 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -907,7 +907,7 @@ for my $test ( $update->mark_open( $test->{update_reopen} ); $update->update; - $test->{update_user}->from_council( $test->{user_council} ); + $test->{update_user}->from_body( $test->{user_council} ); $test->{update_user}->update; $mech->get_ok('/admin/update_edit/' . $update->id ); @@ -1094,7 +1094,7 @@ subtest 'user search' => sub { $mech->content_like( qr{user_edit/$u_id">Edit</a>} ); - $user->from_council(2509); + $user->from_body(2509); $user->update; $mech->get_ok('/admin/search_users?search=2509' ); $mech->content_contains(2509); |