]> 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)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 7 Oct 2024 17:03:03 +0000 (19:03 +0200)
commit0f1c1f11b35241daf12c359915ec7767b8196cff
treef39bbe48752f0649c729e7e699bd6c036d26f922
parentc59720d0f3801e7e209545a7585b90b9fff0c28c
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>
(cherry picked from commit 0af87f009f5e66ee82ea33767489ef4158820377)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Koha/REST/V1/Auth/Password.pm