http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12167

--- Comment #1 from M. Tompsett <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to