]> git.koha-community.org Git - koha.git/commit
Bug 16864: Silence warnings in t/db_dependent/ILSDI_Services.t
authorMark Tompsett <mtompset@hotmail.com>
Wed, 6 Jul 2016 18:17:20 +0000 (14:17 -0400)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 17 Aug 2016 13:42:49 +0000 (15:42 +0200)
commit8751e361e65aa15873d86bc179ac7c29a9446e75
tree5e0a7386759e762bd641df731f99c784faa01ef3
parent0b3afeef401d7e082c6c43ccfe486f74f29881dc
Bug 16864: Silence warnings in t/db_dependent/ILSDI_Services.t

prove t/db_dependent/ILSDI_Services.t
generates noisy output as a result of the ambiguous context
of two $cgi->param() calls.

By storing into scalar variables, and then using the scalar
variables, the code maintains readability and fixes the problem.

TEST PLAN
---------
1) prove t/db_dependent/ILSDI_Services.t
   -- noisy.
2) apply patch
3) prove t/db_dependent/ILSDI_Services.t
   -- not noisy
4) run koha qa test tools

Signed-off-by: Marc <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit ef0738922005e4235b80e70663d7fa711a87556e)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit ad5acf73bc03f2a68ebbaa27c3d9399ce38551ae)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/ILSDI/Services.pm