]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/user_controller_test.rb
Convert OpenID authentication to generic third party authentication
[rails.git] / test / controllers / user_controller_test.rb
index 8cbf498a9c985044019b0685d8a6939e77ada920..4bc52f8d4b902f5fb3fd86978ffd652e446102d8 100644 (file)
@@ -1,7 +1,8 @@
 require "test_helper"
 
 class UserControllerTest < ActionController::TestCase
-  fixtures :users
+  api_fixtures
+  fixtures :user_blocks, :messages, :friends
 
   ##
   # test all routes which lead to this controller
@@ -885,7 +886,8 @@ class UserControllerTest < ActionController::TestCase
     assert_equal false, user.image.file?
     assert_equal false, user.email_valid
     assert_nil user.new_email
-    assert_nil user.openid_url
+    assert_nil user.auth_provider
+    assert_nil user.auth_uid
     assert_equal "deleted", user.status
   end
 end