mirror of
https://github.com/redmine/redmine.git
synced 2026-03-14 08:31:03 +01:00
Merged r3933 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@3983 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -67,6 +67,13 @@ class AccountControllerTest < ActionController::TestCase
|
||||
assert_redirected_to 'my/page'
|
||||
end
|
||||
|
||||
def test_login_with_invalid_openid_provider
|
||||
Setting.self_registration = '0'
|
||||
Setting.openid = '1'
|
||||
post :login, :openid_url => 'http;//openid.example.com/good_user'
|
||||
assert_redirected_to home_url
|
||||
end
|
||||
|
||||
def test_login_with_openid_for_existing_non_active_user
|
||||
Setting.self_registration = '2'
|
||||
Setting.openid = '1'
|
||||
|
||||
Reference in New Issue
Block a user