summaryrefslogtreecommitdiffstats
path: root/test/unit/auth_source_ldap_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-19 21:39:29 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-19 21:39:29 +0000
commitdedfdefcf300b99320a32353f1e54b9919d7aadf (patch)
tree70d29120d2d986e7f68cddb0e31bf474b61b7020 /test/unit/auth_source_ldap_test.rb
parent21617889e8d32762256f5bd0cc5493758b3cffb9 (diff)
downloadredmine-dedfdefcf300b99320a32353f1e54b9919d7aadf.tar.gz
redmine-dedfdefcf300b99320a32353f1e54b9919d7aadf.zip
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
Diffstat (limited to 'test/unit/auth_source_ldap_test.rb')
-rw-r--r--test/unit/auth_source_ldap_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/auth_source_ldap_test.rb b/test/unit/auth_source_ldap_test.rb
index f9ee8e0e9..5dc532f23 100644
--- a/test/unit/auth_source_ldap_test.rb
+++ b/test/unit/auth_source_ldap_test.rb
@@ -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