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:
Jean-Philippe Lang 2012-02-19 21:39:29 +00:00
parent 21617889e8
commit dedfdefcf3
3 changed files with 3 additions and 1 deletions

View File

@ -10,4 +10,4 @@ auth_sources_001:
attr_firstname: givenName
attr_lastname: sn
attr_mail: mail
onthefly_register: true
onthefly_register: false

View File

@ -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

View File

@ -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