X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d058f3ef28d498b117c8d32c54d5e61778259bca..69fa4e9940fe2858c90ea39277ef6ffcd84a3ca6:/test/controllers/user_controller_test.rb?ds=sidebyside diff --git a/test/controllers/user_controller_test.rb b/test/controllers/user_controller_test.rb index c3a111605..14bea6374 100644 --- a/test/controllers/user_controller_test.rb +++ b/test/controllers/user_controller_test.rb @@ -1193,7 +1193,7 @@ class UserControllerTest < ActionController::TestCase # Get users to work with user = users(:normal_user) friend = users(:public_user) - create(:friend, :user_id => user.id, :friend_user_id => friend.id) + create(:friend, :befriender => user, :befriendee => friend) # Check that the users are friends assert Friend.where(:user_id => user.id, :friend_user_id => friend.id).first