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 committed 2012-02-19 21:39:29 +00:00
1 parent 21617889e8
commit dedfdefcf3
3 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -10,4 +10,4 @@ auth_sources_001:
attr_firstname: givenName attr_firstname: givenName
attr_lastname: sn attr_lastname: sn
attr_mail: mail attr_mail: mail
onthefly_register: true onthefly_register: false
+1
View File
@@ -48,6 +48,7 @@ class AuthSourceLdapTest < ActiveSupport::TestCase
context '#authenticate' do context '#authenticate' do
setup do setup do
@auth = AuthSourceLdap.find(1) @auth = AuthSourceLdap.find(1)
@auth.update_attribute :onthefly_register, true
end end
context 'with a valid LDAP user' do context 'with a valid LDAP user' do
+1
View File
@@ -483,6 +483,7 @@ class UserTest < ActiveSupport::TestCase
context "on the fly registration" do context "on the fly registration" do
setup do setup do
@auth_source = AuthSourceLdap.find(1) @auth_source = AuthSourceLdap.find(1)
@auth.update_attribute :onthefly_register, true
end end
context "with a successful authentication" do context "with a successful authentication" do