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
…
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
…
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
…
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
…
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
…
Tags
…
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
…
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
…
Biblios.t Bug 29172: Make CustomCoverImagesURL compatible with control fields 2021-10-12 11:15:32 +02:00
Checkout.t
…
Checkouts.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
CirculationRules.t
…
Cities.t
…
ClassSortRules.t
…
ClassSources.t
…
ClassSplitRules.t
…
CoverImages.t
…
CsvProfiles.t
…
Database.t Bug 28306: Allow to query database with minimal memory footprint 2021-08-31 10:27:52 +02:00
Desks.t
…
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
…
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
…
Libraries.t Bug 29844: Fix t/db_dependent/Koha/* 2022-02-09 15:36:23 -10:00
Library.t
…
MarcSubfieldStructures.t
…
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
…
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
…
Ratings.t
…
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
…
SMS_Providers.t
…
SearchField.t
…
SharedContent.t
…
Statistics.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Subscription.t
…
Suggestion.t
…
Suggestions.t Bug 29886: Unit tests 2022-03-03 16:11:49 -10:00
Tags.t
…
Z3950Servers.t
…