[Koha-bugs] [Bug 17640] t/db_dependent/Template/Plugin/Categories.t is failing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 16 10:45:09 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17640

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 57530
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57530&action=edit
Bug 17640: Fix t/db_dependent/Template/Plugin/Categories.t

These tests fail since commit 6ee8dd3a597d08ccc5122473e55790d3f21d5163
    Bug 15407: Koha::Patron::Categories - replace C4::Category->all

Indeed the patron categories plugin now returns a
Koha::Patron::Categories object and does not set a 'selected' flag.
We do not need this flag (`git grep Categories.all **/*.tt` to trust me)

Note that this patch also add a patron category to make the test passes
even if no category exist.

Test plan:
  prove t/db_dependent/Template/Plugin/Categories.t
should return green

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


More information about the Koha-bugs mailing list