[Koha-bugs] [Bug 30360] Add helper methods to Koha::BackgroundJobs
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 5 00:34:14 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30360
--- Comment #4 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 132952
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132952&action=edit
Bug 30360: Add methods for dealing with the JSON payload
This patch adds high-level methods to handle the JSON payload
(de)serialization as needed. This allows devs implementing background
jobs to abstract themselves from the internals of the jobs handling.
To test:
1. Apply this patch
2. Run:
$ kshell
k$ prove t/db_dependent/Koha/BackgroundJob.t
=> SUCCESS: Tests pass!
3. Sign off :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list