]> 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)
committerwainuiwitikapark <wainuiwitikapark@catalyst.net.nz>
Thu, 12 Sep 2024 02:03:17 +0000 (02:03 +0000)
commit0af87f009f5e66ee82ea33767489ef4158820377
treec207473d106e55bf550326a7a3416cb3da9c3be5
parentec8465eb1021537ca3f09d0db423e605acd868db
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: wainuiwitikapark <wainuiwitikapark@catalyst.net.nz>
Koha/REST/V1/Auth/Password.pm