Koha-clms/t/db_dependent/Koha
Tomas Cohen Arazi 8fdfa80609 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@theke.io>

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

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-03-22 10:17:33 -10:00
..
Account Bug 29785: Rename Koha::Object->message with ->object_messages 2022-02-09 22:01:36 -10:00
Acquisition Bug 29785: Rename Koha::Object->message with ->object_messages 2022-02-09 22:01:36 -10:00
BackgroundJobs Bug 29857: (follow-up) Fix t/db_dependent/Koha/BackgroundJobs/BatchUpdateBiblio.t 2022-03-02 09:40:05 -10:00
Biblio Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
BiblioUtils Bug 29625: Add test for get_all_biblios_iterator 2022-02-21 15:15:47 -10:00
Cash Bug 26274: (QA follow-up) Minor fixes 2021-02-12 12:33:41 +01:00
Charges Bug 22435: (follow-up) Update POS for reduced offset types 2021-08-04 14:06:43 +02:00
Checkouts Bug 29495: Add relation tests 2022-01-17 14:55:56 -10:00
Club Bug 29857: (follow-up) Fix t/db_dependent/Koha/Club/Hold.t 2022-03-02 09:40:05 -10:00
Config Bug 27154: Fix test if the cache is populated already 2021-02-09 09:21:31 +01:00
Edifact Bug 29670: Unit tests 2022-01-18 21:15:04 -10:00
Filter Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Import Bug 26326: Add Koha Objects for Import Records and Import Record Matches 2021-11-03 15:40:52 +01:00
IssuingRules Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Item Bug 28445: Split and join on ' | ' instead of '|' for repeatable 2021-10-18 11:28:40 +02:00
Items Bug 29781: Unit test 2022-02-16 11:51:11 -10:00
Library Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Objects/Mixin Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
Old Bug 30023: Add Koha::Old::Checkout->anonymize 2022-03-01 22:47:47 -10:00
Patron Bug 29857: (follow-up) Fix t/db_dependent/Koha/Patron/Modifications.t 2022-03-02 09:40:05 -10:00
Patrons Bug 27883: Add ability to preserve patron field from being overwritten by import 2021-07-12 15:47:33 +02:00
Plugins Bug 30072: (follow-up) Silence useless warning 2022-03-03 16:11:50 -10:00
REST Bug 29506: Regression tests 2022-01-05 14:03:28 -10:00
SMTP Bug 29427: Regression tests 2021-11-08 12:16:31 +01:00
SearchEngine Bug 27770: ES: Deprecated aggregation order key [_term] used, replaced by [_key] 2022-02-21 15:15:47 -10:00
Subscription Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Tags Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Template/Plugin Bug 29273: Fix failing tests 2021-11-15 15:06:25 +01:00
UI/Form/Builder Bug 28445: Prevent UI/Form/Builder/Item.t to fail randomly 2021-11-25 13:53:55 +01:00
XSLT Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Z3950Responder Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Account.t Bug 29844: Fix t/db_dependent/Koha/* 2022-02-09 15:36:23 -10:00
ActionLogs.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
AdditionalContents.t Bug 29332: Unit tests 2021-10-28 12:16:37 +02:00
ApiKey.t Bug 28772: Make validate_secret return 1|0 2021-09-30 09:48:41 +02:00
ArticleRequest.t Bug 29759: (QA follow-up) Remove abs from the test 2022-01-31 21:55:39 -10:00
ArticleRequests.t Bug 29082: Simplify tests 2021-10-07 10:54:59 +02:00
Authorities.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
BackgroundJob.t Bug 30181: Regression tests 2022-03-22 10:17:33 -10:00
BackgroundJobs.t Bug 30181: (QA follow-up) Update BatchTest 2022-03-22 10:17:33 -10:00
Biblio.t Bug 19532: (QA follow-up) Simplify resultset accessors 2022-03-14 22:45:52 -10:00
BiblioFrameworks.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Biblios.t Bug 29172: Make CustomCoverImagesURL compatible with control fields 2021-10-12 11:15:32 +02:00
Checkout.t Bug 26327: Add exec flag on .t file 2020-10-14 14:50:07 +02:00
Checkouts.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
CirculationRules.t Bug 23091: Update unit test 2020-11-06 15:55:17 +01:00
Cities.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
ClassSortRules.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
ClassSources.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
ClassSplitRules.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
CoverImages.t Bug 26145: Add exec flag on .t file 2020-10-12 12:36:27 +02:00
CsvProfiles.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Database.t Bug 28306: Allow to query database with minimal memory footprint 2021-08-31 10:27:52 +02:00
Desks.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Hold.t Bug 30007: (follow-up) Adapt tests 2022-03-02 21:52:50 -10:00
Holds.t Bug 30155: Don't get items that can fillholds if there are no holds 2022-03-15 22:30:50 -10:00
IssuingRules.t Bug 23091: Update unit test 2020-11-06 15:55:17 +01:00
Item.t Bug 19532: (RM follow-up) Fix recalls.old is default 0 2022-03-15 00:31:32 -10:00
ItemTypes.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Items.t Bug 26704: (follow-up) Fix t/db_dependent/Koha/Items.t 2022-02-16 00:00:06 -10:00
KeyboardShortcuts.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Libraries.t Bug 29844: Fix t/db_dependent/Koha/* 2022-02-09 15:36:23 -10:00
Library.t Bug 26595: Embed the whole smtp_server object 2020-10-14 15:53:38 +02:00
MarcSubfieldStructures.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Notices.t Bug 28514: Remove getletter 2021-06-21 13:49:58 +02:00
Object.t Bug 29857: (QA follow-up) Fix unit test Object.t 2022-03-01 22:47:47 -10:00
Objects.t Bug 29844: Remove use of wantarray from Koha::Objects 2022-02-09 15:36:23 -10:00
Old.t Bug 26327: Add ->library method to Koha::*Checkout 2020-10-14 14:50:06 +02:00
Patron.t Bug 19532: (QA follow-up) Simplify resultset accessors 2022-03-14 22:45:52 -10:00
Patrons.t Bug 30058: Add Koha::Patrons->filter_by_have_subpermission 2022-03-17 11:22:56 -10:00
Pseudonymization.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Quotes.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Ratings.t Bug 26250: Fix tests when SearchEngine=Elastic 2020-08-31 16:10:26 +02:00
Recall.t Bug 19532: (RM follow-up) Fix dates compare in recalls tests 2022-03-17 23:01:16 -10:00
Recalls.t Bug 19532: (RM follow-up) Fix dates compare in recalls tests 2022-03-17 23:01:16 -10:00
Reports.t Bug 24695: Move to Koha::Report->is_sql_valid 2021-04-12 15:27:50 +02:00
Reviews.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
SMS_Providers.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
SearchField.t Bug 19482: (follow-up) Fix update, add tests, restore closing </td> 2020-11-04 12:59:33 +01:00
SharedContent.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Statistics.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Subscription.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Suggestion.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Suggestions.t Bug 29886: Unit tests 2022-03-03 16:11:49 -10:00
Tags.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Z3950Servers.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00