https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26129
David Nind <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #118971|0 |1 is obsolete| | --- Comment #18 from David Nind <[email protected]> --- Created attachment 118983 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=118983&action=edit Bug 26129: Add Koha::Configuration(s) classes This patch adds the Koha::Configuration(s) classes and tests. It is similar to the Koha::CirculationRules(s) classes, but with simpler use cases for now. There's no special handling for '*' as it is expected to be passed undef instead. It allows to set arbitrary configuration entries either globally or for specific library_id, category_id or item_type. Attribute names match the ones agreed for the API. To test: 1. Apply this patches 2. Run: $ updatedatabase => SUCCESS: The atomic update is applied correctly 3. Run: $ reset_all => SUCCESS: kohastructure.sql is loaded without issues 4. Run: $ kshell k$ prove t/db_dependent/Koha/Configurations.t => SUCCESS: Tests pass! 5. Sign off :-D Sponsored-by: ByWater Solutions Signed-off-by: David Nind <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://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/
