]> git.koha-community.org Git - koha.git/commit
Bug 8148: (regression tests) C4::Auth_with_ldap needs unit tests
authorTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 28 Jul 2014 12:31:52 +0000 (09:31 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 7 Aug 2014 19:23:02 +0000 (16:23 -0300)
commit0a56b068f80e0c893f3e5d98d91b69822ccafdf6
tree2e721ed4f095e18d285f7a0bc31cfc677ba0ac4f
parentc9351807e9c4d46662257b85f106877e1198c542
Bug 8148: (regression tests) C4::Auth_with_ldap needs unit tests

This followup provides some unit tests for C4::Auth_with_ldap. It implements
regression tests for this bug's changes too.

The aim was to cover all use cases for checkpw_ldap from the first line up to
those touched by this bug's patches. It should serve as a start for having
unit tests for the LDAP thing.

Having said that: no excuses for not providing regression tests for LDAP from now on :-/

Regards
To+

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/Auth_with_ldap.t [new file with mode: 0755]