Bug 33608: (QA follow-up) Restore older gt zero tests
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 20 Jul 2023 06:04:46 +0000 (06:04 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 25 Oct 2023 14:07:58 +0000 (11:07 -0300)
commit9aa95001d409787e1fe3b2f66c28973e40b34f96
treeb0829c98e0aab67cb4a4e0c88b5a97f0958ae650
parent043f35887828d06098387430c2da8e51ef186981
Bug 33608: (QA follow-up) Restore older gt zero tests

See the Bugzilla report. I have been asked to restore the former
tests although I definitely think that they are wrong. Will address
that on bug 34308 separately.

This currently has the side-effect of negative lost values being
interpreted as 'found'. (Do not use negative lost values!)
The added subtest still reflects that now. Added a few TODOs.

Test plan:
[1] Prove t/db_dependent/Koha/Items.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Item.pm
t/db_dependent/Koha/Items.t