##// END OF EJS Templates
Disabled on the fly registration for auth_source fixture....
Jean-Philippe Lang -
r8793:dedfdefcf300
parent child
Show More
@@ -10,4 +10,4 auth_sources_001:
10 10 attr_firstname: givenName
11 11 attr_lastname: sn
12 12 attr_mail: mail
13 onthefly_register: true
13 onthefly_register: false
@@ -48,6 +48,7 class AuthSourceLdapTest < ActiveSupport::TestCase
48 48 context '#authenticate' do
49 49 setup do
50 50 @auth = AuthSourceLdap.find(1)
51 @auth.update_attribute :onthefly_register, true
51 52 end
52 53
53 54 context 'with a valid LDAP user' do
@@ -483,6 +483,7 class UserTest < ActiveSupport::TestCase
483 483 context "on the fly registration" do
484 484 setup do
485 485 @auth_source = AuthSourceLdap.find(1)
486 @auth.update_attribute :onthefly_register, true
486 487 end
487 488
488 489 context "with a successful authentication" do
General Comments 0
You need to be logged in to leave comments. Login now