]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/user_preference_controller_test.rb
Fixed existing tests
[rails.git] / test / controllers / user_preference_controller_test.rb
index 3c36b29d1025ff55731e5a9e058865c53414ddfe..752ec56cb33b6d6a8dfdd2a75e9a67a825e24792 100644 (file)
@@ -36,7 +36,7 @@ class UserPreferenceControllerTest < ActionController::TestCase
     assert_response :unauthorized, "should be authenticated"
 
     # authenticate as a user with no preferences
     assert_response :unauthorized, "should be authenticated"
 
     # authenticate as a user with no preferences
-    basic_authorization("test@example.com", "test")
+    basic_authorization("moderator@example.com", "test")
 
     # try the read again
     get :read
 
     # try the read again
     get :read