Bug 17637: Fix tests Auth_with_ldap.t
commit1111faedddfd31dbee5139903785e2f9bc28a7f3
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 16 Nov 2016 07:44:03 +0000 (16 07:44 +0000)
committerMason James <mtj@kohaaloha.com>
Mon, 12 Dec 2016 01:54:12 +0000 (12 14:54 +1300)
tree0d67c0d207982b10c95c78ea147771d467c5aebf
parent79b1553b17ca72861144bf38a714f46105abb22b
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: Mason James <mtj@kohaaloha.com>
t/db_dependent/Auth_with_ldap.t