[Koha-bugs] [Bug 30181] Koha::BackgroundJob->_derived_class returns an empty object

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 16 15:32:57 CET 2022


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

Andrew Fuerste-Henry <andrew at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #131325|0                           |1
        is obsolete|                            |

--- Comment #14 from Andrew Fuerste-Henry <andrew at bywatersolutions.com> ---
Created attachment 131802
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131802&action=edit
Bug 30181: (QA follow-up) Update BatchTest

This patch updates t::lib::Koha::BackgroundJob::BatchTest to the new
style, and also removes a couple stray cases in which job_id was still
passed as a parameter.

Tests are rewritten a bit, so they actually test more of the behaviors.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/BackgroundJobs.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

Signed-off-by: Andrew Fuerste-Henry <andrew at bywatersolutions.com>

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


More information about the Koha-bugs mailing list