[Koha-bugs] [Bug 11543] Increasing test coverage for C4::Category
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 14 21:24:04 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11543
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |Failed QA
CC| |kyle at bywatersolutions.com
--- Comment #4 from Kyle M Hall <kyle at bywatersolutions.com> ---
This patch assumes that at least one patron category exists, but does not
create or mock any.
I believe the test would fail without any categories in the database.
The best course of action would be to create a dummy category before running
the test, then roll back the insert at the end of the test.
In addition, it would be good practice to move this file to t/db_dependent
since this test is indeed dependent on the database.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list