[Koha-bugs] [Bug 26364] XISBN.t makes a bad assumption about return values
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Sep 3 17:47:33 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26364
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #109599|0 |1
is obsolete| |
--- Comment #6 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 109631
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=109631&action=edit
Bug 26364: Check that return value isn't the value we don't want. Don't check
for undef
It seems sometimes we get an ISBN returned that matches a book in the sample
data. One of the Harry Potter
books was matching the ISBN. Our real concern is not that we get nothing, but
that we don't get the
same value we pass in. We should test for that
To test:
1 - prove -v t/db_dependent/XISBN.t
2 - The failures are not consistent, so read the code and ensure we are making
sense
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list