]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 2 Jun 2022 13:22:22 +0000 (10:22 -0300)
commit2e0243c378158755660d7bc95e15ad32dd6d0ebf
tree301dff6c343635acea106f115b7a492f432f136e
parente536229292617e2f6e5bade47e3fbad1a0101ea4
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>
t/db_dependent/Letters.t