Disabled on the fly registration for auth_source fixture.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8913 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
21617889e8
commit
dedfdefcf3
|
@ -10,4 +10,4 @@ auth_sources_001:
|
|||
attr_firstname: givenName
|
||||
attr_lastname: sn
|
||||
attr_mail: mail
|
||||
onthefly_register: true
|
||||
onthefly_register: false
|
||||
|
|
|
@ -48,6 +48,7 @@ class AuthSourceLdapTest < ActiveSupport::TestCase
|
|||
context '#authenticate' do
|
||||
setup do
|
||||
@auth = AuthSourceLdap.find(1)
|
||||
@auth.update_attribute :onthefly_register, true
|
||||
end
|
||||
|
||||
context 'with a valid LDAP user' do
|
||||
|
|
|
@ -483,6 +483,7 @@ class UserTest < ActiveSupport::TestCase
|
|||
context "on the fly registration" do
|
||||
setup do
|
||||
@auth_source = AuthSourceLdap.find(1)
|
||||
@auth.update_attribute :onthefly_register, true
|
||||
end
|
||||
|
||||
context "with a successful authentication" do
|
||||
|
|
Loading…
Reference in New Issue