[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 Apr 30 16:28:05 CEST 2015


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

--- Comment #29 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 38722
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38722&action=edit
Bug 12167: Bad expected results and condition check for GetNewsToDisplay

This corrected the results expected to a single array reference.
It then determines that it is defined and an array reference.
And lastly, correct the logic that was supposed to check for
valid results.

TEST PLAN
---------
1) Apply patch 1 and 2.
2) prove -v t/db_dependent/NewsChannels.t
   -- all tests should pass
   -- note the test changes to verify correctly what should
      be tested for.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list