]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 13 Jun 2024 13:14:08 +0000 (14:14 +0100)
commit5e7572ad7a86cb39d901088367f76b212d64989e
tree30fd4ae6de97a08cd65701e26157a4537601bbc4
parent87abe8de60a6b227b0de09e81d8e6f34ce38d84c
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>
Koha/REST/V1/Auth/Password.pm