]> git.koha-community.org Git - koha.git/commit
Bug 17950: Merge.t: Improve variable handling at top level
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 23 Jan 2017 10:40:48 +0000 (11:40 +0100)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 19 Feb 2017 20:18:32 +0000 (21:18 +0100)
commit44e4772c428300c45bd477a0fe8cde7d33167a3e
treedb1397318d7f4d6a368af3bc361a9b1bbbcfdeff
parent37fd4f0becc0f5884983dd1f64bd53a71005c166
Bug 17950: Merge.t: Improve variable handling at top level

This patch does:
[1] Remove unused $dbh.
[2] Move all mocking statements to one sub.
[3] Promote a few lexicals to globals when used in the subtests.

Test plan:
Run t/db_dependent/Authorities/Merge.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 849877d8d3bcd3791c624a84ec5e4cb0550fa0fe)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
t/db_dependent/Authorities/Merge.t