]> git.koha-community.org Git - koha.git/commit
Bug 36937: Remove warning from unit tests
authorMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Thu, 23 May 2024 09:23:10 +0000 (09:23 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 19 Jul 2024 07:33:48 +0000 (09:33 +0200)
commit762399e8edb787e5ae0fa5a9459aed6fafa07dd5
treee0d5b8b7f8047cd79759d23a0a18f46f562e6729
parent05832b039747e62a28e7c9e64c3f92416125df03
Bug 36937: Remove warning from unit tests

This patch fixes a warning in the unit tests

Test plan:
1) prove t/db_dependent/api/v1/password_validation.t
2) There will be a warning in the output - 'Use of uninitialized value $status in numeric eq (==)'
3) Apply patch
4) Re-run the test
5) The warning will disappear

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 5e7572ad7a86cb39d901088367f76b212d64989e)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 227a5619a4097c8667a004d38b6e7e2eb2640221)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/REST/V1/Auth/Password.pm