Bug 28385: Add tests
This does not test bug 28385 directly but 28278 instead. Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
1c9f8defcb
commit
e10b25d594
2 changed files with 22 additions and 2 deletions
|
@ -117,7 +117,19 @@ subtest 'read_from_file() tests' => sub {
|
|||
'backup_db_via_tools' => '0',
|
||||
'backup_conf_via_tools' => '0',
|
||||
'install_log' => '/home/koha/misc/koha-install-log',
|
||||
'useldapserver' => '0',
|
||||
'useldapserver' => '1',
|
||||
'ldapserver' => {
|
||||
ldapserver => {
|
||||
hostname => 'ldap://another_ldap_server:389',
|
||||
user => 'user',
|
||||
pass => 'password',
|
||||
mapping => {
|
||||
firstname => {
|
||||
is => 'givenName'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
'useshibboleth' => '0',
|
||||
'zebra_lockdir' => '/home/koha/var/lock/zebradb',
|
||||
'lockdir' => '__LOCK_DIR__',
|
||||
|
|
|
@ -101,7 +101,15 @@
|
|||
<supportdir>/home/koha/src/misc</supportdir>
|
||||
-->
|
||||
<install_log>/home/koha/misc/koha-install-log</install_log>
|
||||
<useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
|
||||
<useldapserver>1</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
|
||||
<ldapserver id="ldapserver">
|
||||
<hostname>ldap://another_ldap_server:389</hostname>
|
||||
<user>user</user>
|
||||
<pass>password</pass>
|
||||
<mapping>
|
||||
<firstname is="givenName" ></firstname>
|
||||
</mapping>
|
||||
</ldapserver>
|
||||
<useshibboleth>0</useshibboleth><!-- see C4::Auth_with_shibboleth for extra configs you must do to turn this on -->
|
||||
<zebra_lockdir>/home/koha/var/lock/zebradb</zebra_lockdir>
|
||||
<lockdir>__LOCK_DIR__</lockdir>
|
||||
|
|
Loading…
Reference in a new issue