]> git.koha-community.org Git - koha.git/commit
Bug 30781: Add unit test for substitute with undefined value
authorFridolin Somers <fridolin.somers@biblibre.com>
Thu, 19 May 2022 03:47:18 +0000 (17:47 -1000)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Sun, 26 Jun 2022 18:07:28 +0000 (20:07 +0200)
commit7d30d0624984ec66e018d4d1a1151357f620d265
treedf02fba89ab3f54f01fa7422323ce9ec70a95fd2
parent6cf15316e6115955593663f6f61003ae2a7d39c7
Bug 30781: Add unit test for substitute with undefined value

Add unit test that generates warn.
This may be usefull as no regression test.

Run prove t/db_dependent/Letters.t
You see warn :
t/db_dependent/Letters.t .. 1/84 Use of uninitialized value $val in substitution iterator at /kohadevbox/koha/C4/Letters.pm line 607.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2e0243c378158755660d7bc95e15ad32dd6d0ebf)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 3b3b7f0ad9b46f3c17ebc8f0fda7e05184fa5547)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
(cherry picked from commit 9068cc1c4227646011974ffe20a6f11115ed2d3e)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
t/db_dependent/Letters.t