Bug 24267: (QA follow-up) Remove two calls, add transaction
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 20 Dec 2019 07:14:32 +0000 (07:14 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 15 Jan 2020 18:48:33 +0000 (18:48 +0000)
commitba1e7c42e067edab45d12e5a7c4940ef2b1d2e11
tree57f2ef3825f0d518c5373a4a4cf288d63e7d23fc
parentff114d6bfa020eadbcfedf3f0591e1aba8bd63e9
Bug 24267: (QA follow-up) Remove two calls, add transaction

Call to GetAuthorizedHeading is already done just before calling ImportBreedingAuth.
Call to GuessAuthTypeCode is not used.
Adding transaction to test (check your database, kidclamp ;)

Test plan:
Add new authority via Z3950 in the interface.
Run t/db_dependent/Breeding.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit a73cb7ec6f2cb5bb52fb1acd605e3385002e7ea2)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Breeding.pm
t/db_dependent/Breeding.t