Koha/t/db_dependent
Martin Renvoize defcdd85a4
Bug 30889: Unit tests
This patch adds a unit test for the 'enqueue' part of the bug. We check
that the mocked context (and interface) are recorded with the job
enqueue in the new 'context' field.

We do not yet test the 'process' end, where we then read the context out
and set the job Context from it.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-30 12:03:19 -03:00
..
Acquisition
api/v1 Bug 30677: Add tests 2022-06-28 09:35:45 -03:00
Auth
AuthoritiesMarc
Authority
Biblio Bug 30813: Remove TransformMarcToKohaOneField 2022-06-08 11:40:30 -03:00
Circulation Bug 30788: Unit test 2022-06-01 16:07:21 -03:00
CourseReserves
Creators
cronjobs
data Bug 30756: (follow-up) Restore MARC21 authority file 2022-06-05 20:24:03 -03:00
Exporter
Holds
Illrequest
Items Bug 22827: Add age dependency on other fields than dateaccessioned 2022-04-08 15:49:16 +02:00
Koha Bug 30889: Unit tests 2022-06-30 12:03:19 -03:00
Labels Bug 24001: (follow-up) Fix t_Profile.t 2022-04-28 20:26:20 -10:00
LDAP
Letters Bug 29602: (follow-up) fix TemplateToolkit.t 2022-04-20 20:43:14 -10:00
Members
misc/translator
OAI
Patron Bug 30076: Add ability to check patron messaging preferences from a notice 2022-04-08 15:49:16 +02:00
Record
Reports Bug 26669: Last Run if report not always updated 2022-04-04 16:23:46 +02:00
Reserves
Search
selenium Bug 30768: Capitalizing "pin" in 2FA setup 2022-06-09 09:43:29 -03:00
Serials
SIP Bug 29755: (follow-up) Mock NoIssuesChargeGuarantorsWithGuarantees in test 2022-05-06 15:58:13 -10:00
Template/Plugin Bug 29826: Manage call of Template Plugin Branches GetName() with null or empty branchcode 2022-03-03 16:11:50 -10:00
Utils Bug 30063: Remove occurrences of C4::Utils::DataTables::Members 2022-04-04 09:47:01 +02:00
www
00-strict.t
01-test_dbic.t
Accounts.t
Acquisition.t
Amazon.t
ArticleRequests.t
AudioAlerts.t
Auth.t Bug 29924: Update ILSDI to be aware of expired passwords 2022-05-06 10:33:09 -10:00
Auth_with_cas.t
Auth_with_ldap.t
AuthorisedValues.t
AuthoritiesMarc.t
AuthoritiesMarc_GetTagsLabels.t Bug 30446: Add a test for GetTagsLabels 2022-04-21 21:01:09 -10:00
AuthUtils.t
BackgroundJob.t
Barcodes.t
Barcodes_ValueBuilder.t Bug 26328: Add test 2022-03-23 10:50:51 -10:00
Biblio.t Bug 30728: Add unit tests 2022-05-12 22:17:46 -10:00
Biblio_holdsqueue.t Bug 30728: Add unit tests 2022-05-12 22:17:46 -10:00
Breeding.t Bug 30813: Remove TransformMarcToKohaOneField 2022-06-08 11:40:30 -03:00
Budgets.t
Cache.t
Calendar.t
Charset.t
check_kohastructure.t
check_sysprefs.t
Circulation.t Bug 24239: (QA follow-up) Rename date_due => due_date 2022-06-23 15:43:18 -03:00
Circulation_holdsqueue.t Bug 30728: Add unit tests 2022-05-12 22:17:46 -10:00
Clubs.t
Context.t Bug 30237: Replace AutoEmailOpacUser with AutoEmailNewUser 2022-04-20 09:03:39 -10:00
Contract.t
CourseReserves.t
db_structure.t
DecreaseLoanHighHolds.t
Filter_MARC_ViewPolicy.t
Fines.t
FrameworkPlugin.t
Heading.t
Heading_MARC21.t
Hold.t
Holds.t Bug 30291: Changes to tests 2022-05-05 11:17:36 -10:00
HoldsQueue.t
Holidays.t
Illcomments.t
Illrequestattributes.t
Illrequests.t Bug 30947: Add test for Illrequest checkout with custom due date 2022-06-23 11:38:44 -03:00
ILSDI_Services.t Bug 29924: Update ILSDI to be aware of expired passwords 2022-05-06 10:33:09 -10:00
ImportBatch.t Bug 30822: Clarify that BatchCommitItems is a private function 2022-06-22 09:43:53 -03:00
ImportExportFramework.t Bug 13952: (follow-up) Tests 2022-04-04 16:23:45 +02:00
Installer.t
Items.t Bug 29719: Unit tests 2022-05-16 11:20:09 -10:00
Koha.t Bug 30870: Don't skip tests if Test::Deep if not installed 2022-06-01 13:40:26 -03:00
Koha_Database.t
Koha_Elasticsearch.t
Koha_ExternalContent_OverDrive.t
Koha_ExternalContent_RecordedBooks.t
Koha_MetadataRecord_Authority.t Bug 30756: Rename to Koha_MetadataRecord_Authority 2022-06-02 13:53:39 -03:00
Koha_Misc_Files.t
Languages.t
Letters.t Bug 30781: Add unit test for substitute with undefined value 2022-06-02 10:22:22 -03:00
LibraryGroups.t
Linker_Default.t
Linker_FirstMatch.t
Log.t
MarcModificationTemplates.t
Members.t
Message.t
MungeMarcPrice.t
Overdues.t
Passwordrecovery.t
Patroncards.t
PatronLists.t
Patrons.t Bug 12446: (QA follow-up) Rename canbeguarantee => can_be_guarantee 2022-06-23 13:34:05 -03:00
Record.t
RecordProcessor_EmbedSeeFromHeadings.t
Reports.t
Reserves.t Bug 12630: Rebase tests and cover CheckReserves 2022-06-13 10:24:50 -03:00
rollingloans.t
RotatingCollections.t
Search.t Bug 30528: Unit tests 2022-06-01 13:51:37 -03:00
Serials.t Bug 23352: Set default collection code when creating subscription 2022-05-10 15:17:17 -10:00
Serials_2.t
Service.t
ShelfBrowser.t
Sitemapper.t
Stats.t Bug 19532: Other objects used in recalls feature 2022-03-14 22:45:51 -10:00
StockRotationItems.t Bug 30518: Unit test 2022-04-19 21:25:50 -10:00
StockRotationRotas.t
StockRotationStages.t
SuggestionEngine_ExplodedTerms.t
Suggestions.t Bug 23991: Move SearchSuggestion to Koha::Suggestions 2022-06-27 12:30:28 -03:00
sysprefs.t
TablesSettings.t
Tags.t
Templates.t Bug 29695: Remove GetColumnDefs 2022-04-12 11:40:16 +02:00
TestBuilder.t
Upload.t
UsageStats.t
Virtualshelves.t Bug 30057: Move virtualshelf-related exceptions to a separate library 2022-06-06 14:30:37 -03:00
XISBN.t
XSLT.t Bug 30291: Changes to tests 2022-05-05 11:17:36 -10:00
yaml.t
zebra_config.pl