Bug 17637: Fix tests Auth_with_ldap.t
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 16 Nov 2016 07:44:03 +0000 (07:44 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 16 Nov 2016 14:01:33 +0000 (14:01 +0000)
commitfbaa28bf2a79e0416706f8caad5728a88223d04b
treedc5c4d2a8e44b5e5522d1b915daee6caed8fbdd9
parent0faf643661f23eddd066488b26004428e57bfe18
Bug 17637: Fix tests Auth_with_ldap.t

Koha::Patron->delete create a transaction and so we need to use
txn_begin to have nested txn

DBD::mysql::db begin_work failed: Already in a transaction

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/Auth_with_ldap.t