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

--- Comment #10 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 207323
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207323&action=edit
Bug 43729: Remove STOMP coverage from background jobs tests

With the STOMP code path gone, the tests that exercised it no longer apply.

Changes:
- t/db_dependent/Koha/BackgroundJob.t: drop the 'connect' subtest and the
  Net::Stomp send_with_receipt mock used to force an enqueue exception;
  adjust the plan counts and remove the now-unused Test::Warn.
- t/db_dependent/Koha/BackgroundJobs.t: drop the Net::Stomp mock.

Test plan:
1. Apply patch
2. Run:
   $ ktd --shell
   k$ prove t/db_dependent/Koha/BackgroundJob.t \
          t/db_dependent/Koha/BackgroundJobs.t
=> SUCCESS: Tests pass!
3. Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to