[Koha-bugs] [Bug 12167] datetime type casting issue regarding bug 7567
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu May 1 05:17:08 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12167
--- Comment #1 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 27825
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=27825&action=edit
Bug 12167 - Correct faulty test logic
GetNewsToDisplay returns a reference to an array of hashes.
Of course the hash >= 2.
This patch properly checks the scalar size of the array.
TEST PLAN
---------
1) prove -v t/db_dependent/NewsChannels.t
-- should "work"
2) apply the patch
3) prove -v t/db_dependent/NewsChannels.t
-- should "fail"
This is in preparation for the next patch.
NOTE: I believe this may only work under Ubuntu 12.04
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list