]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 10 Jun 2022 16:33:22 +0000 (16:33 +0000)
commit3b3b7f0ad9b46f3c17ebc8f0fda7e05184fa5547
treee263ba60d6e17e5e5fa863a63e7a6d995ee499da
parent6a49c8a1b0fa18d5941d7786a1fadb25581c00d7
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>
t/db_dependent/Letters.t