Adding OpenID mock and test. #699
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2444 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -64,6 +64,20 @@ class AccountControllerTest < Test::Unit::TestCase
|
||||
:content => /Invalid user or password/
|
||||
end
|
||||
|
||||
def test_login_with_openid
|
||||
post :login, :openid_url => 'http://openid.example.com/good_user'
|
||||
assert_redirected_to 'my/page'
|
||||
end
|
||||
|
||||
def test_login_with_openid_with_new_user_created
|
||||
|
||||
end
|
||||
|
||||
|
||||
def test_login_with_openid_with_new_user_with_conflict
|
||||
|
||||
end
|
||||
|
||||
def test_autologin
|
||||
Setting.autologin = "7"
|
||||
Token.delete_all
|
||||
|
||||
Reference in New Issue
Block a user