Bugzilla – Attachment 177995 Details for
Bug 38944
Add Test::NoWarnings to tests without warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38944: Add Test::NoWarnings to tests no producing warnings
Bug-38944-Add-TestNoWarnings-to-tests-no-producing.patch (text/plain), 301.54 KB, created by
Nick Clemens (kidclamp)
on 2025-02-13 12:58:01 UTC
(
hide
)
Description:
Bug 38944: Add Test::NoWarnings to tests no producing warnings
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2025-02-13 12:58:01 UTC
Size:
301.54 KB
patch
obsolete
>From b75a4b45afd1d6a6a3f195b115c33a3bc2478bbf Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 22 Jan 2025 14:42:43 +0100 >Subject: [PATCH] Bug 38944: Add Test::NoWarnings to tests no producing > warnings > >This has been generated. > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > t/00-check-atomic-updates.t | 1 + > t/00-deprecated.t | 3 ++- > t/00-load.t | 1 + > t/00-merge-conflict-markers.t | 3 ++- > t/00-testcritic.t | 1 + > t/00-valid-xml.t | 1 + > t/Acquisition/CanUserManageBasket.t | 3 ++- > t/Auth.t | 3 ++- > t/AuthoritiesMarc_MARC21.t | 3 ++- > t/AuthoritiesMarc_UNIMARC.t | 3 ++- > t/Barcodes_EAN13.t | 3 ++- > t/Barcodes_annual.t | 3 ++- > t/Barcodes_hbyymmincr.t | 3 ++- > t/Barcodes_incremental.t | 3 ++- > t/Biblio.t | 1 + > t/Biblio/TransformHtmlToXml.t | 3 ++- > t/Biblio2.t | 1 + > t/Budgets.t | 3 ++- > t/Budgets/CanUserModifyBudget.t | 3 ++- > t/Budgets/CanUserUseBudget.t | 3 ++- > t/Charset.t | 3 ++- > t/Circulation/AgeRestrictionMarkers.t | 3 ++- > t/Circulation_barcodedecode.t | 3 ++- > t/ClassSortRoutine.t | 3 ++- > t/ClassSortRoutine_Dewey.t | 3 ++- > t/ClassSortRoutine_Generic.t | 3 ++- > t/ClassSortRoutine_LCC.t | 3 ++- > t/ClassSource.t | 3 ++- > t/Context.t | 3 ++- > t/Contract.t | 3 ++- > t/CookieManager.t | 3 ++- > t/Creators.t | 3 ++- > t/DateUtils.t | 3 ++- > t/EdiInvoice.t | 3 ++- > t/Ediorder.t | 3 ++- > t/Ediordrsp.t | 3 ++- > t/External/BakerTaylor.t | 3 ++- > t/External/Syndetics.t | 3 ++- > t/Form_MessagingPreferences.t | 3 ++- > t/HtmlTags.t | 3 ++- > t/Installer_PerlModules.t | 3 ++- > t/ItemCirculationAlertPreference.t | 3 ++- > t/Koha/Auth/Permissions.t | 3 ++- > t/Koha/Authority/ControlledIndicators.t | 3 ++- > t/Koha/Config.t | 3 ++- > t/Koha/Database/Columns.t | 3 ++- > t/Koha/DateTime/Format/RFC3339.t | 1 + > t/Koha/DateTime/Format/SQL.t | 1 + > t/Koha/Email.t | 3 ++- > t/Koha/Exceptions.t | 3 ++- > t/Koha/I18N.t | 3 ++- > t/Koha/Installer/Output.t | 3 ++- > t/Koha/ItemType.t | 3 ++- > t/Koha/Middleware/RealIP.t | 3 ++- > t/Koha/Middleware/SetEnv.t | 3 ++- > t/Koha/Object/Message.t | 3 ++- > t/Koha/Plugins/SafeURL.t | 3 ++- > t/Koha/Plugins/Tab.t | 3 ++- > t/Koha/REST/Plugin/Query.t | 3 ++- > t/Koha/Result/Boolean.t | 3 ++- > t/Koha/Script.t | 3 ++- > t/Koha/Script_cron.t | 3 ++- > t/Koha/SearchEngine/Elasticsearch/QueryBuilder.t | 3 ++- > t/Koha/SearchEngine/Elasticsearch/Search.t | 3 ++- > t/Koha/SearchEngine/Search.t | 3 ++- > t/Koha/SearchEngine/Zebra/QueryBuilder.t | 3 ++- > t/Koha/Util/MARC.t | 3 ++- > t/Koha/Util/Navigation.t | 3 ++- > t/Koha/Util/Normalize.t | 3 ++- > t/Koha/Util/OpenDocument.t | 3 ++- > t/Koha/Z3950responder.t | 3 ++- > t/Koha_MetadataRecord.t | 3 ++- > t/Koha_SearchEngine_Elasticsearch_Browse.t | 1 + > t/Koha_Template_Plugin_HtmlId.t | 3 ++- > t/Koha_Template_Plugin_Koha.t | 3 ++- > t/Koha_Util_FrameworkPlugin.t | 3 ++- > t/Koha_Util_MARC.t | 3 ++- > t/Koha_XSLT_HTTPS.t | 3 ++- > t/Labels_split_Regex.t | 3 ++- > t/Labels_split_ccn.t | 1 + > t/Labels_split_ddcn.t | 1 + > t/Labels_split_lccn.t | 1 + > t/Languages.t | 3 ++- > t/Logger.t | 3 ++- > t/Makefile.t | 3 ++- > t/Members_Messaging.t | 3 ++- > t/Number/Price.t | 3 ++- > t/OpenLibrarySearch.t | 3 ++- > t/Output.t | 3 ++- > t/Output_JSONStream.t | 3 ++- > t/Patroncards.t | 3 ++- > t/Patroncards_Batch.t | 3 ++- > t/Patroncards_Lib.t | 3 ++- > t/Patroncards_Patroncard.t | 3 ++- > t/Patroncards_Profile.t | 3 ++- > t/Patroncards_Template.t | 3 ++- > t/RecordProcessor.t | 1 + > t/Ris.t | 3 ++- > t/SIP/Sip.t | 3 ++- > t/SMS.t | 3 ++- > t/Scheduler.t | 3 ++- > t/Scrubber.t | 3 ++- > t/Search.t | 3 ++- > t/Search/History.t | 3 ++- > t/Search/buildQuery.t | 3 ++- > t/Search_PazPar2.t | 3 ++- > t/Serials/GetNextSeq.t | 3 ++- > t/Serials/ModSerialStatus.t | 3 ++- > t/SimpleMARC.t | 3 ++- > t/SuggestionEngine.t | 1 + > t/SuggestionEngine_AuthorityFile.t | 3 ++- > t/Template/Utils.t | 3 ++- > t/Test/Dates.t | 3 ++- > t/TmplToken.t | 3 ++- > t/Token.t | 3 ++- > t/db_dependent/00-strict.t | 1 + > t/db_dependent/Accounts.t | 3 ++- > t/db_dependent/Acquisition.t | 3 ++- > t/db_dependent/Acquisition/CancelReceipt.t | 3 ++- > t/db_dependent/Acquisition/FillWithDefaultValues.t | 3 ++- > t/db_dependent/Acquisition/GetBasketAsCSV.t | 3 ++- > t/db_dependent/Acquisition/GetBasketGroupAsCSV.t | 3 ++- > t/db_dependent/Acquisition/GetBasketsInfosByBookseller.t | 3 ++- > t/db_dependent/Acquisition/GetOrdersByBiblionumber.t | 1 + > t/db_dependent/Acquisition/Invoices.t | 3 ++- > t/db_dependent/Acquisition/NewOrder.t | 3 ++- > t/db_dependent/Acquisition/OrderFromSubscription.t | 3 ++- > t/db_dependent/Acquisition/OrderUsers.t | 3 ++- > t/db_dependent/Acquisition/StandingOrders.t | 3 ++- > t/db_dependent/Acquisition/TransferOrder.t | 3 ++- > t/db_dependent/Acquisition/close_reopen_basket.t | 3 ++- > t/db_dependent/Acquisition/populate_order_with_prices.t | 3 ++- > t/db_dependent/Amazon.t | 3 ++- > t/db_dependent/ArticleRequests.t | 3 ++- > t/db_dependent/AudioAlerts.t | 3 ++- > t/db_dependent/Auth/haspermission.t | 3 ++- > t/db_dependent/AuthUtils.t | 3 ++- > t/db_dependent/Auth_with_cas.t | 3 ++- > t/db_dependent/Auth_with_ldap.t | 3 ++- > t/db_dependent/AuthoritiesMarc.t | 3 ++- > t/db_dependent/AuthoritiesMarc/MARC21.t | 3 ++- > t/db_dependent/AuthoritiesMarc_GetTagsLabels.t | 3 ++- > t/db_dependent/Authority/Merge.t | 3 ++- > t/db_dependent/Authority/MergeRequests.t | 3 ++- > t/db_dependent/Authority/Subfields.t | 3 ++- > t/db_dependent/Authority/Tags.t | 3 ++- > t/db_dependent/Barcodes.t | 3 ++- > t/db_dependent/Barcodes_ValueBuilder.t | 3 ++- > t/db_dependent/Biblio/Isbd.t | 3 ++- > t/db_dependent/Biblio/MarcOverlayRules.t | 3 ++- > t/db_dependent/Biblio/ModBiblioMarc.t | 3 ++- > t/db_dependent/Biblio/TransformHtmlToMarc.t | 3 ++- > t/db_dependent/Biblio/TransformKohaToMarc.t | 3 ++- > t/db_dependent/Biblio/TransformMarcToKoha.t | 3 ++- > t/db_dependent/Biblio_holdsqueue.t | 3 ++- > t/db_dependent/Breeding.t | 3 ++- > t/db_dependent/Breeding_Auth.t | 3 ++- > t/db_dependent/Budgets/CloneBudgetHierarchy.t | 1 + > t/db_dependent/Cache.t | 3 ++- > t/db_dependent/Calendar.t | 3 ++- > t/db_dependent/Charset.t | 3 ++- > t/db_dependent/Circulation.t | 3 ++- > t/db_dependent/Circulation/Branch.t | 3 ++- > t/db_dependent/Circulation/CalcDateDue.t | 3 ++- > t/db_dependent/Circulation/CalcFine.t | 3 ++- > t/db_dependent/Circulation/CheckIfIssuedToPatron.t | 3 ++- > t/db_dependent/Circulation/CheckValidBarcode.t | 3 ++- > t/db_dependent/Circulation/GetHardDueDate.t | 3 ++- > t/db_dependent/Circulation/GetPendingOnSiteCheckouts.t | 3 ++- > t/db_dependent/Circulation/GetTopIssues.t | 3 ++- > t/db_dependent/Circulation/IsItemIssued.t | 3 ++- > t/db_dependent/Circulation/MarkIssueReturned.t | 3 ++- > t/db_dependent/Circulation/NoIssuesChargeGuarantees.t | 3 ++- > t/db_dependent/Circulation/OfflineCirculation.t | 3 ++- > t/db_dependent/Circulation/OfflineOperation.t | 3 ++- > t/db_dependent/Circulation/ReturnClaims.t | 3 ++- > t/db_dependent/Circulation/Returns.t | 3 ++- > t/db_dependent/Circulation/StoreLastBorrower.t | 3 ++- > t/db_dependent/Circulation/SwitchOnSiteCheckouts.t | 3 ++- > t/db_dependent/Circulation/TooMany.t | 3 ++- > t/db_dependent/Circulation/_CalculateAndUpdateFine.t | 3 ++- > t/db_dependent/Circulation/dateexpiry.t | 3 ++- > t/db_dependent/Circulation/issue.t | 3 ++- > t/db_dependent/Circulation/maxsuspensiondays.t | 3 ++- > t/db_dependent/Circulation/transferbook.t | 3 ++- > t/db_dependent/Circulation/transfers.t | 3 ++- > t/db_dependent/ClassSources.t | 3 ++- > t/db_dependent/Clubs.t | 3 ++- > t/db_dependent/Context.t | 3 ++- > t/db_dependent/Contract.t | 3 ++- > t/db_dependent/CourseReserves.t | 3 ++- > t/db_dependent/CourseReserves/CourseItems.t | 3 ++- > t/db_dependent/Creators/Lib.t | 3 ++- > t/db_dependent/DecreaseLoanHighHolds.t | 3 ++- > t/db_dependent/Exporter/Record.t | 3 ++- > t/db_dependent/Filter_MARC_ViewPolicy.t | 3 ++- > t/db_dependent/Fines.t | 3 ++- > t/db_dependent/FrameworkPlugin.t | 3 ++- > t/db_dependent/Heading.t | 3 ++- > t/db_dependent/Heading_MARC21.t | 3 ++- > t/db_dependent/Hold.t | 3 ++- > t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t | 3 ++- > t/db_dependent/Holds/ExpireReservesAutoFill.t | 3 ++- > t/db_dependent/Holds/HoldFulfillmentPolicy.t | 3 ++- > t/db_dependent/Holds/HoldItemtypeLimit.t | 3 ++- > t/db_dependent/Holds/LocalHoldsPriority.t | 3 ++- > t/db_dependent/Holds/RevertWaitingStatus.t | 3 ++- > t/db_dependent/Holds/WaitingReserves.t | 3 ++- > t/db_dependent/HoldsQueue.t | 3 ++- > t/db_dependent/Holidays.t | 3 ++- > t/db_dependent/ILSDI_Services.t | 3 ++- > t/db_dependent/ImportBatch.t | 3 ++- > t/db_dependent/ImportExportFramework.t | 3 ++- > t/db_dependent/Installer.t | 3 ++- > t/db_dependent/Items.t | 3 ++- > t/db_dependent/Items/AutomaticItemModificationByAge.t | 3 ++- > t/db_dependent/Items/GetAnalyticsCount.t | 3 ++- > t/db_dependent/Items/GetItemsForInventory.t | 3 ++- > t/db_dependent/Koha.t | 3 ++- > t/db_dependent/Koha/Account.t | 3 ++- > t/db_dependent/Koha/Account/DebitType.t | 3 ++- > t/db_dependent/Koha/Account/DebitTypes.t | 3 ++- > t/db_dependent/Koha/Account/Line.t | 3 ++- > t/db_dependent/Koha/Account/Lines.t | 3 ++- > t/db_dependent/Koha/Account/Offsets.t | 3 ++- > t/db_dependent/Koha/Acquisition/Basket.t | 3 ++- > t/db_dependent/Koha/Acquisition/Baskets.t | 3 ++- > t/db_dependent/Koha/Acquisition/Budgets.t | 3 ++- > t/db_dependent/Koha/Acquisition/Currencies.t | 3 ++- > t/db_dependent/Koha/Acquisition/Fund.t | 3 ++- > t/db_dependent/Koha/Acquisition/Funds.t | 3 ++- > t/db_dependent/Koha/Acquisition/Invoice.t | 3 ++- > t/db_dependent/Koha/Acquisition/Invoice/Adjustments.t | 3 ++- > t/db_dependent/Koha/Acquisition/Order.t | 3 ++- > t/db_dependent/Koha/Acquisition/Orders.t | 3 ++- > t/db_dependent/Koha/ActionLogs.t | 3 ++- > t/db_dependent/Koha/AdditionalField.t | 3 ++- > t/db_dependent/Koha/ApiKey.t | 3 ++- > t/db_dependent/Koha/ArticleRequest.t | 3 ++- > t/db_dependent/Koha/ArticleRequests.t | 3 ++- > t/db_dependent/Koha/Auth/Identity/Provider.t | 3 ++- > t/db_dependent/Koha/Authorities.t | 3 ++- > t/db_dependent/Koha/BackgroundJob/BatchCancelHold.t | 3 ++- > t/db_dependent/Koha/BackgroundJob/BatchDeleteAuthority.t | 3 ++- > t/db_dependent/Koha/BackgroundJob/BatchDeleteBiblio.t | 3 ++- > t/db_dependent/Koha/BackgroundJob/BatchDeleteItem.t | 3 ++- > t/db_dependent/Koha/BackgroundJob/BatchUpdateAuthority.t | 3 ++- > t/db_dependent/Koha/BackgroundJob/BatchUpdateBiblio.t | 3 ++- > .../Koha/BackgroundJob/BatchUpdateBiblioHoldsQueue.t | 3 ++- > t/db_dependent/Koha/BackgroundJob/BatchUpdateItem.t | 3 ++- > .../Koha/BackgroundJob/CreateEHoldingsFromBiblios.t | 3 ++- > t/db_dependent/Koha/BackgroundJob/ErmSushiHarvester.t | 3 ++- > t/db_dependent/Koha/BackgroundJob/ImportKBARTFile.t | 3 ++- > t/db_dependent/Koha/BackgroundJob/MARCImportCommitBatch.t | 3 ++- > t/db_dependent/Koha/BackgroundJob/MARCImportRevertBatch.t | 3 ++- > t/db_dependent/Koha/BackgroundJob/PseudonymizeStatistic.t | 3 ++- > t/db_dependent/Koha/BackgroundJob/StageMARCForImport.t | 3 ++- > t/db_dependent/Koha/BackgroundJob/UpdateElasticIndex.t | 3 ++- > t/db_dependent/Koha/BackgroundJobs.t | 3 ++- > t/db_dependent/Koha/BackgroundJobs/BatchDeleteBiblio.t | 3 ++- > t/db_dependent/Koha/BackgroundJobs/BatchDeleteItem.t | 3 ++- > t/db_dependent/Koha/BackgroundJobs/BatchUpdateBiblio.t | 3 ++- > t/db_dependent/Koha/BackgroundJobs/ErmSushiHarvester.t | 3 ++- > t/db_dependent/Koha/BackgroundJobs/StageMARCForImport.t | 3 ++- > t/db_dependent/Koha/Biblio.t | 3 ++- > t/db_dependent/Koha/Biblio/ItemGroups.t | 3 ++- > t/db_dependent/Koha/Biblio/Metadata.t | 3 ++- > t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC.t | 3 ++- > t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC/MARC21.t | 3 ++- > t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC/UNIMARC.t | 3 ++- > t/db_dependent/Koha/Biblio/host_record.t | 3 ++- > t/db_dependent/Koha/BiblioFrameworks.t | 3 ++- > t/db_dependent/Koha/Biblios.t | 3 ++- > t/db_dependent/Koha/Bookings.t | 3 ++- > t/db_dependent/Koha/Cash/Register.t | 3 ++- > t/db_dependent/Koha/Cash/Register/Action.t | 3 ++- > t/db_dependent/Koha/Cash/Register/Cashup.t | 3 ++- > t/db_dependent/Koha/Cash/Register/Cashups.t | 3 ++- > t/db_dependent/Koha/Charges/Fees.t | 3 ++- > t/db_dependent/Koha/Charges/Sales.t | 3 ++- > t/db_dependent/Koha/Checkout.t | 3 ++- > t/db_dependent/Koha/Checkouts.t | 3 ++- > t/db_dependent/Koha/Checkouts/Renewal.t | 3 ++- > t/db_dependent/Koha/Checkouts/ReturnClaim.t | 3 ++- > t/db_dependent/Koha/CirculationRules.t | 3 ++- > .../CirculationRules/guess_article_requestable_itemtypes.t | 3 ++- > t/db_dependent/Koha/Cities.t | 3 ++- > t/db_dependent/Koha/ClassSortRules.t | 3 ++- > t/db_dependent/Koha/ClassSources.t | 3 ++- > t/db_dependent/Koha/ClassSplitRules.t | 3 ++- > t/db_dependent/Koha/Club/Enrollment.t | 3 ++- > t/db_dependent/Koha/Club/Hold.t | 3 ++- > t/db_dependent/Koha/Config/SysPrefs.t | 3 ++- > t/db_dependent/Koha/Course.t | 3 ++- > t/db_dependent/Koha/Courses.t | 3 ++- > t/db_dependent/Koha/CsvProfiles.t | 3 ++- > t/db_dependent/Koha/CurbsidePickups.t | 3 ++- > t/db_dependent/Koha/Database.t | 3 ++- > t/db_dependent/Koha/Database/Commenter.t | 3 ++- > t/db_dependent/Koha/Desks.t | 3 ++- > t/db_dependent/Koha/ERM/Agreements.t | 3 ++- > t/db_dependent/Koha/ERM/EUsage/CounterFile.t | 3 ++- > t/db_dependent/Koha/ERM/EUsage/CounterLog.t | 3 ++- > t/db_dependent/Koha/ERM/EUsage/SushiCounter.t | 3 ++- > t/db_dependent/Koha/ERM/EUsage/UsageDataProvider.t | 3 ++- > t/db_dependent/Koha/Edifact/File.t | 3 ++- > t/db_dependent/Koha/Edifact/Order.t | 3 ++- > t/db_dependent/Koha/Edifact/Transport.t | 3 ++- > t/db_dependent/Koha/Filter/EmbedItems.t | 3 ++- > t/db_dependent/Koha/Filter/EmbedItemsAvailability.t | 3 ++- > t/db_dependent/Koha/Filter/ExpandCodedFields.t | 3 ++- > t/db_dependent/Koha/Hold.t | 3 ++- > t/db_dependent/Koha/Holds.t | 3 ++- > t/db_dependent/Koha/ILL/Backend.t | 3 ++- > t/db_dependent/Koha/ILL/Batch.t | 3 ++- > t/db_dependent/Koha/ILL/Batch/Statuses.t | 3 ++- > t/db_dependent/Koha/ILL/Batches.t | 3 ++- > t/db_dependent/Koha/ILL/Comments.t | 3 ++- > t/db_dependent/Koha/ILL/Request.t | 3 ++- > t/db_dependent/Koha/ILL/Request/Attributes.t | 3 ++- > t/db_dependent/Koha/ILL/Request/Config.t | 3 ++- > t/db_dependent/Koha/ILL/Request/Logger.t | 3 ++- > t/db_dependent/Koha/ILL/Request/SupplierUpdate.t | 3 ++- > t/db_dependent/Koha/ILL/Request/SupplierUpdateProcessor.t | 3 ++- > t/db_dependent/Koha/ILL/Request/Workflow/Availability.t | 3 ++- > t/db_dependent/Koha/ILL/Request/Workflow/TypeDisclaimer.t | 3 ++- > t/db_dependent/Koha/ILL/Requests.t | 3 ++- > t/db_dependent/Koha/Import/Record/Auths.t | 3 ++- > t/db_dependent/Koha/Import/Record/Biblios.t | 3 ++- > t/db_dependent/Koha/Import/Record/Items.t | 3 ++- > t/db_dependent/Koha/Import/Record/Matches.t | 3 ++- > t/db_dependent/Koha/Import/Records.t | 3 ++- > t/db_dependent/Koha/Item.t | 3 ++- > t/db_dependent/Koha/Item/Attributes.t | 1 + > t/db_dependent/Koha/Item/Search/Field.t | 3 ++- > t/db_dependent/Koha/Item/Template.t | 3 ++- > t/db_dependent/Koha/Item/Templates.t | 3 ++- > t/db_dependent/Koha/Item/Transfer.t | 3 ++- > t/db_dependent/Koha/Item/Transfers.t | 3 ++- > t/db_dependent/Koha/ItemTypes.t | 3 ++- > t/db_dependent/Koha/Items.t | 3 ++- > t/db_dependent/Koha/Items/BatchUpdate.t | 1 + > t/db_dependent/Koha/KeyboardShortcuts.t | 3 ++- > t/db_dependent/Koha/Libraries.t | 3 ++- > t/db_dependent/Koha/Library.t | 3 ++- > t/db_dependent/Koha/Library/OverDriveInfos.t | 3 ++- > t/db_dependent/Koha/MarcSubfieldStructures.t | 3 ++- > t/db_dependent/Koha/Notice/Message.t | 3 ++- > t/db_dependent/Koha/Notice/Template.t | 3 ++- > t/db_dependent/Koha/Notice_Util.t | 3 ++- > t/db_dependent/Koha/Notices.t | 3 ++- > t/db_dependent/Koha/OAIHarvester.t | 3 ++- > t/db_dependent/Koha/OAIServers.t | 3 ++- > t/db_dependent/Koha/Object.t | 3 ++- > t/db_dependent/Koha/Object/Mixin/AdditionalFields.t | 3 ++- > t/db_dependent/Koha/Objects.t | 3 ++- > t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t | 3 ++- > t/db_dependent/Koha/Objects/Mixin/ExtendedAttributes.t | 3 ++- > t/db_dependent/Koha/Objects/Record/Collections.t | 3 ++- > t/db_dependent/Koha/Old.t | 3 ++- > t/db_dependent/Koha/Old/Checkout.t | 3 ++- > t/db_dependent/Koha/Old/Checkouts.t | 3 ++- > t/db_dependent/Koha/Old/Holds.t | 3 ++- > t/db_dependent/Koha/Patron/Attribute.t | 3 ++- > t/db_dependent/Koha/Patron/Attribute/Types.t | 3 ++- > t/db_dependent/Koha/Patron/Categories.t | 3 ++- > t/db_dependent/Koha/Patron/Category.t | 3 ++- > t/db_dependent/Koha/Patron/Consents.t | 3 ++- > t/db_dependent/Koha/Patron/Images.t | 3 ++- > t/db_dependent/Koha/Patron/MessagePreference/Attributes.t | 3 ++- > .../Koha/Patron/MessagePreference/Transport/Preferences.t | 3 ++- > .../Koha/Patron/MessagePreference/Transport/Types.t | 3 ++- > t/db_dependent/Koha/Patron/MessagePreference/Transports.t | 3 ++- > t/db_dependent/Koha/Patron/MessagePreferences.t | 3 ++- > t/db_dependent/Koha/Patron/Messages.t | 3 ++- > t/db_dependent/Koha/Patron/Relationship.t | 3 ++- > t/db_dependent/Koha/Patron/Restriction.t | 3 ++- > t/db_dependent/Koha/Patron/Restriction/Type.t | 3 ++- > t/db_dependent/Koha/Patron_generate_userid.t | 3 ++- > t/db_dependent/Koha/Patrons.t | 3 ++- > t/db_dependent/Koha/Plugins/Account_hooks.t | 3 ++- > t/db_dependent/Koha/Plugins/Auth/Client.t | 3 ++- > t/db_dependent/Koha/Plugins/BackgroundJob.t | 3 ++- > t/db_dependent/Koha/Plugins/Barcode_transform_hooks.t | 3 ++- > t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t | 3 ++- > t/db_dependent/Koha/Plugins/Broken.t | 3 ++- > t/db_dependent/Koha/Plugins/Circulation_hooks.t | 3 ++- > t/db_dependent/Koha/Plugins/Holds_hooks.t | 3 ++- > t/db_dependent/Koha/Plugins/Ill_hooks.t | 3 ++- > t/db_dependent/Koha/Plugins/KitchenSink.t | 3 ++- > t/db_dependent/Koha/Plugins/Message_hooks.t | 3 ++- > t/db_dependent/Koha/Plugins/Plugins.t | 3 ++- > t/db_dependent/Koha/Plugins/TemplateIncludePathHook.t | 3 ++- > t/db_dependent/Koha/Plugins/Transform_prepared_letter_hook.t | 3 ++- > t/db_dependent/Koha/Plugins/authority_hooks.t | 3 ++- > t/db_dependent/Koha/Policy/Holds.t | 3 ++- > t/db_dependent/Koha/Policy/Patrons/Cardnumber.t | 3 ++- > t/db_dependent/Koha/Preservation/Processings.t | 3 ++- > t/db_dependent/Koha/Preservation/Trains.t | 3 ++- > t/db_dependent/Koha/PseudonymizedTransaction.t | 3 ++- > t/db_dependent/Koha/Quotes.t | 3 ++- > t/db_dependent/Koha/REST/Plugin/Auth/IdP.t | 3 ++- > t/db_dependent/Koha/REST/Plugin/Objects.t | 3 ++- > t/db_dependent/Koha/REST/Plugin/Pagination.t | 3 ++- > t/db_dependent/Koha/REST/Plugin/PluginRoutes.t | 3 ++- > t/db_dependent/Koha/REST/V1.t | 3 ++- > t/db_dependent/Koha/Ratings.t | 3 ++- > t/db_dependent/Koha/Recall.t | 3 ++- > t/db_dependent/Koha/Recalls.t | 3 ++- > t/db_dependent/Koha/RecordSource.t | 3 ++- > t/db_dependent/Koha/Reports.t | 3 ++- > t/db_dependent/Koha/Reviews.t | 3 ++- > t/db_dependent/Koha/SMS_Providers.t | 3 ++- > t/db_dependent/Koha/SMTP/Server.t | 3 ++- > t/db_dependent/Koha/SMTP/Servers.t | 3 ++- > t/db_dependent/Koha/SearchEngine/Elasticsearch/Indexer.t | 3 ++- > t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t | 3 ++- > t/db_dependent/Koha/SearchEngine/Elasticsearch/Reset.t | 3 ++- > t/db_dependent/Koha/SearchEngine/Indexer.t | 3 ++- > t/db_dependent/Koha/SearchEngine/Search.t | 3 ++- > t/db_dependent/Koha/SearchEngine/Zebra/QueryBuilder.t | 3 ++- > t/db_dependent/Koha/SearchField.t | 3 ++- > t/db_dependent/Koha/SearchFilters.t | 3 ++- > t/db_dependent/Koha/Session.t | 3 ++- > t/db_dependent/Koha/SharedContent.t | 3 ++- > t/db_dependent/Koha/Statistic.t | 3 ++- > t/db_dependent/Koha/Statistics.t | 3 ++- > t/db_dependent/Koha/Subscription.t | 3 ++- > t/db_dependent/Koha/Subscription/Numberpatterns.t | 3 ++- > t/db_dependent/Koha/Subscription/Routinglists.t | 3 ++- > t/db_dependent/Koha/Suggestion.t | 3 ++- > t/db_dependent/Koha/Suggestions.t | 3 ++- > t/db_dependent/Koha/Tags.t | 3 ++- > t/db_dependent/Koha/Tags/Approvals.t | 3 ++- > t/db_dependent/Koha/Tags/Indexes.t | 3 ++- > t/db_dependent/Koha/Template/Plugin/Asset.t | 3 ++- > t/db_dependent/Koha/Template/Plugin/Branches.t | 3 ++- > t/db_dependent/Koha/Template/Plugin/CirculationRules.t | 3 ++- > t/db_dependent/Koha/Template/Plugin/ClassSources.t | 3 ++- > t/db_dependent/Koha/Template/Plugin/ExtendedAttributeTypes.t | 3 ++- > t/db_dependent/Koha/Template/Plugin/ItemTypes.t | 3 ++- > t/db_dependent/Koha/Template/Plugin/JSConsents.t | 3 ++- > t/db_dependent/Koha/Template/Plugin/KohaPlugins.t | 3 ++- > t/db_dependent/Koha/Template/Plugin/Notices.t | 3 ++- > t/db_dependent/Koha/Template/Plugin/Registers.t | 3 ++- > t/db_dependent/Koha/Template/Plugin/TablesSettings.t | 3 ++- > t/db_dependent/Koha/Ticket.t | 3 ++- > t/db_dependent/Koha/Ticket/Update.t | 3 ++- > t/db_dependent/Koha/UI/Form/Builder/Biblio.t | 3 ++- > t/db_dependent/Koha/UI/Form/Builder/Item.t | 3 ++- > t/db_dependent/Koha/UI/Form/Builder/Item/itemtypes-default.t | 3 ++- > t/db_dependent/Koha/Virtualshelf.t | 3 ++- > t/db_dependent/Koha/Virtualshelves.t | 3 ++- > t/db_dependent/Koha/XSLT/Base.t | 3 ++- > t/db_dependent/Koha/XSLT/Security.t | 3 ++- > t/db_dependent/Koha/Z3950Responder/GenericSession.t | 3 ++- > t/db_dependent/Koha/Z3950Responder/Session.t | 3 ++- > t/db_dependent/Koha/Z3950Responder/Session2.t | 3 ++- > t/db_dependent/Koha/Z3950Responder/ZebraSession.t | 3 ++- > t/db_dependent/Koha/Z3950Servers.t | 3 ++- > t/db_dependent/Koha_Database.t | 3 ++- > t/db_dependent/Koha_Elasticsearch.t | 3 ++- > t/db_dependent/Koha_ExternalContent_OverDrive.t | 1 + > t/db_dependent/Koha_MetadataRecord_Authority.t | 3 ++- > t/db_dependent/Koha_Misc_Files.t | 3 ++- > t/db_dependent/Labels/t_Batch.t | 3 ++- > t/db_dependent/Labels/t_Label.t | 3 ++- > t/db_dependent/Labels/t_Layout.t | 3 ++- > t/db_dependent/Labels/t_Profile.t | 3 ++- > t/db_dependent/Labels/t_Template.t | 3 ++- > t/db_dependent/Languages.t | 3 ++- > t/db_dependent/Letters/GetLetterTemplates.t | 3 ++- > t/db_dependent/Letters/GetLettersAvailableForALibrary.t | 3 ++- > t/db_dependent/Letters/TemplateToolkit.t | 3 ++- > t/db_dependent/LibraryGroups.t | 3 ++- > t/db_dependent/Linker_Default.t | 3 ++- > t/db_dependent/Linker_FirstMatch.t | 3 ++- > t/db_dependent/Log.t | 3 ++- > t/db_dependent/MarcModificationTemplates.t | 3 ++- > t/db_dependent/Matcher.t | 3 ++- > t/db_dependent/Members.t | 3 ++- > t/db_dependent/Members/IssueSlip.t | 3 ++- > t/db_dependent/Members/Statistics.t | 3 ++- > t/db_dependent/Message.t | 3 ++- > t/db_dependent/MungeMarcPrice.t | 1 + > t/db_dependent/OAI/AndSets.t | 3 ++- > t/db_dependent/OAI/Server.t | 3 ++- > t/db_dependent/OAI/Sets.t | 3 ++- > t/db_dependent/Passwordrecovery.t | 3 ++- > t/db_dependent/Patron/Borrower_Debarments.t | 3 ++- > t/db_dependent/Patron/Borrower_Files.t | 3 ++- > t/db_dependent/Patron/Borrower_PrevCheckout.t | 3 ++- > t/db_dependent/Patron/Housebound.t | 3 ++- > t/db_dependent/Patron/HouseboundProfiles.t | 3 ++- > t/db_dependent/Patron/HouseboundRoles.t | 3 ++- > t/db_dependent/Patron/HouseboundVisits.t | 3 ++- > t/db_dependent/Patron/Messages.t | 3 ++- > t/db_dependent/Patron/Messaging.t | 3 ++- > t/db_dependent/Patron/Relationships.t | 3 ++- > t/db_dependent/PatronLists.t | 3 ++- > t/db_dependent/Patroncards.t | 3 ++- > t/db_dependent/Patrons.t | 3 ++- > t/db_dependent/Prices.t | 3 ++- > t/db_dependent/Record.t | 3 ++- > t/db_dependent/Record/Record.t | 4 ++-- > t/db_dependent/Record/marcrecord2csv.t | 3 ++- > t/db_dependent/RecordProcessor_EmbedSeeFromHeadings.t | 1 + > t/db_dependent/Reports.t | 3 ++- > t/db_dependent/Reports/Guided.t | 3 ++- > t/db_dependent/Reserves/AutoUnsuspendReserves.t | 3 ++- > t/db_dependent/Reserves/GetReserveFee.t | 3 ++- > t/db_dependent/Reserves/MultiplePerRecord.t | 3 ++- > t/db_dependent/Reserves/ReserveSlip.t | 3 ++- > t/db_dependent/RotatingCollections.t | 3 ++- > t/db_dependent/SIP/ILS.t | 3 ++- > t/db_dependent/SIP/Message.t | 3 ++- > t/db_dependent/SIP/Patron.t | 3 ++- > t/db_dependent/SIP/SIPServer.t | 3 ++- > t/db_dependent/SIP/Transaction.t | 3 ++- > t/db_dependent/Search.t | 3 ++- > t/db_dependent/Search/History.t | 3 ++- > t/db_dependent/Serials.t | 3 ++- > t/db_dependent/Serials/Claims.t | 3 ++- > t/db_dependent/Serials/Frequency.t | 3 ++- > t/db_dependent/Serials/GetFictiveIssueNumber.t | 3 ++- > t/db_dependent/Serials/GetNextDate.t | 3 ++- > t/db_dependent/Serials/GetNextSeq.t | 3 ++- > t/db_dependent/Serials/Numberpattern.t | 3 ++- > t/db_dependent/Serials/ReNewSubscription.t | 3 ++- > t/db_dependent/Serials/updateClaim.t | 3 ++- > t/db_dependent/Serials_2.t | 3 ++- > t/db_dependent/Service.t | 3 ++- > t/db_dependent/ShelfBrowser.t | 3 ++- > t/db_dependent/Sitemapper.t | 3 ++- > t/db_dependent/SocialData.t | 3 ++- > t/db_dependent/StockRotationItems.t | 3 ++- > t/db_dependent/StockRotationRotas.t | 3 ++- > t/db_dependent/StockRotationStages.t | 3 ++- > t/db_dependent/SuggestionEngine_ExplodedTerms.t | 3 ++- > t/db_dependent/Suggestions.t | 3 ++- > t/db_dependent/TablesSettings.t | 3 ++- > t/db_dependent/Tags.t | 3 ++- > t/db_dependent/Template/Plugin/AdditionalContents.t | 3 ++- > t/db_dependent/Template/Plugin/AuthorisedValues.t | 3 ++- > t/db_dependent/Template/Plugin/Branches.t | 3 ++- > t/db_dependent/Template/Plugin/Categories.t | 3 ++- > t/db_dependent/Template/Plugin/CirculationRules.t | 3 ++- > t/db_dependent/Template/Plugin/Frameworks.t | 3 ++- > t/db_dependent/Template/Plugin/KohaDates.t | 3 ++- > t/db_dependent/Template/Plugin/KohaTimes.t | 3 ++- > t/db_dependent/Template/Plugin/NoticeTemplates.t | 3 ++- > t/db_dependent/Template/Plugin/To.t | 3 ++- > t/db_dependent/Templates.t | 3 ++- > t/db_dependent/TestBuilder.t | 3 ++- > t/db_dependent/Upload.t | 3 ++- > t/db_dependent/UsageStats.t | 3 ++- > t/db_dependent/Utils/Datatables_Virtualshelves.t | 3 ++- > t/db_dependent/Virtualshelves.t | 3 ++- > t/db_dependent/XSLT.t | 3 ++- > t/db_dependent/api/v1/acquisitions_baskets.t | 3 ++- > t/db_dependent/api/v1/acquisitions_funds.t | 3 ++- > t/db_dependent/api/v1/acquisitions_orders.t | 3 ++- > t/db_dependent/api/v1/acquisitions_vendor_issues.t | 3 ++- > t/db_dependent/api/v1/acquisitions_vendors.t | 3 ++- > t/db_dependent/api/v1/advanced_editor_macros.t | 3 ++- > t/db_dependent/api/v1/article_requests.t | 3 ++- > t/db_dependent/api/v1/auth.t | 3 ++- > t/db_dependent/api/v1/auth_authenticate_api_request.t | 3 ++- > t/db_dependent/api/v1/auth_basic.t | 3 ++- > t/db_dependent/api/v1/authorised_values.t | 3 ++- > t/db_dependent/api/v1/authorities.t | 3 ++- > t/db_dependent/api/v1/bookings.t | 3 ++- > t/db_dependent/api/v1/cashups.t | 3 ++- > t/db_dependent/api/v1/checkouts.t | 3 ++- > t/db_dependent/api/v1/circulation_rules.t | 3 ++- > t/db_dependent/api/v1/cities.t | 3 ++- > t/db_dependent/api/v1/clubs_holds.t | 3 ++- > t/db_dependent/api/v1/deleted_biblios.t | 3 ++- > t/db_dependent/api/v1/edifact_files.t | 3 ++- > t/db_dependent/api/v1/erm_agreements.t | 3 ++- > t/db_dependent/api/v1/erm_counter_files.t | 3 ++- > t/db_dependent/api/v1/erm_counter_logs.t | 3 ++- > t/db_dependent/api/v1/erm_counter_registries.t | 3 ++- > t/db_dependent/api/v1/erm_custom_reports.t | 3 ++- > t/db_dependent/api/v1/erm_documents.t | 3 ++- > t/db_dependent/api/v1/erm_eholdings_packages.t | 3 ++- > t/db_dependent/api/v1/erm_eholdings_resources.t | 3 ++- > t/db_dependent/api/v1/erm_eholdings_titles.t | 3 ++- > t/db_dependent/api/v1/erm_licenses.t | 3 ++- > t/db_dependent/api/v1/erm_sushi_services.t | 3 ++- > t/db_dependent/api/v1/erm_usage_data_providers.t | 3 ++- > t/db_dependent/api/v1/erm_usage_titles.t | 3 ++- > t/db_dependent/api/v1/erm_users.t | 3 ++- > t/db_dependent/api/v1/extended_attribute_types.t | 3 ++- > t/db_dependent/api/v1/idp.t | 3 ++- > t/db_dependent/api/v1/ill_backends.t | 3 ++- > t/db_dependent/api/v1/ill_batches.t | 3 ++- > t/db_dependent/api/v1/ill_batchstatuses.t | 3 ++- > t/db_dependent/api/v1/ill_requests.t | 3 ++- > t/db_dependent/api/v1/import_batch_profiles.t | 3 ++- > t/db_dependent/api/v1/import_record_matches.t | 3 ++- > t/db_dependent/api/v1/item_groups.t | 3 ++- > t/db_dependent/api/v1/item_types.t | 3 ++- > t/db_dependent/api/v1/items.t | 3 ++- > t/db_dependent/api/v1/items/bundled_items.t | 3 ++- > t/db_dependent/api/v1/jobs.t | 3 ++- > t/db_dependent/api/v1/libraries.t | 3 ++- > t/db_dependent/api/v1/oauth.t | 1 + > t/db_dependent/api/v1/pagination.t | 3 ++- > t/db_dependent/api/v1/password_validation.t | 3 ++- > t/db_dependent/api/v1/patron_categories.t | 3 ++- > t/db_dependent/api/v1/patrons.t | 3 ++- > t/db_dependent/api/v1/patrons_accounts.t | 3 ++- > t/db_dependent/api/v1/patrons_checkouts.t | 3 ++- > t/db_dependent/api/v1/patrons_extended_attributes.t | 3 ++- > t/db_dependent/api/v1/patrons_holds.t | 3 ++- > t/db_dependent/api/v1/patrons_password.t | 3 ++- > t/db_dependent/api/v1/patrons_password_expiration.t | 3 ++- > t/db_dependent/api/v1/patrons_recalls.t | 3 ++- > t/db_dependent/api/v1/preservation_Processings.t | 3 ++- > t/db_dependent/api/v1/preservation_Trains.t | 3 ++- > t/db_dependent/api/v1/preservation_WaitingList.t | 3 ++- > t/db_dependent/api/v1/provider.t | 3 ++- > t/db_dependent/api/v1/public/lists.t | 3 ++- > t/db_dependent/api/v1/query.t | 3 ++- > t/db_dependent/api/v1/record_sources.t | 3 ++- > t/db_dependent/api/v1/responses.t | 3 ++- > t/db_dependent/api/v1/return_claims.t | 3 ++- > t/db_dependent/api/v1/search_filters.t | 3 ++- > t/db_dependent/api/v1/smtp_servers.t | 3 ++- > t/db_dependent/api/v1/stockrotation_rotas.t | 3 ++- > t/db_dependent/api/v1/stockrotationstage.t | 3 ++- > t/db_dependent/api/v1/suggestions.t | 3 ++- > t/db_dependent/api/v1/ticket_updates.t | 3 ++- > t/db_dependent/api/v1/tickets.t | 3 ++- > t/db_dependent/api/v1/transfer_limits.t | 3 ++- > t/db_dependent/api/v1/unhandled_exceptions.t | 3 ++- > t/db_dependent/check_kohastructure.t | 3 ++- > t/db_dependent/check_sysprefs.t | 3 ++- > t/db_dependent/db_structure.t | 1 + > t/db_dependent/misc/translator/xgettext-installer.t | 3 ++- > t/db_dependent/misc/translator/xgettext-pref.t | 3 ++- > t/db_dependent/misc/translator/xgettext-tt2.t | 3 ++- > t/db_dependent/mojo/csrf.t | 3 ++- > t/db_dependent/rollingloans.t | 3 ++- > t/db_dependent/selenium/01-installation.t | 3 ++- > t/db_dependent/selenium/administration_tasks.t | 3 ++- > t/db_dependent/selenium/authentication.t | 3 ++- > t/db_dependent/selenium/authentication_2fa.t | 3 ++- > t/db_dependent/selenium/batch_item_modification.t | 3 ++- > t/db_dependent/selenium/ilsdi.t | 3 ++- > t/db_dependent/selenium/opac_holds.t | 3 ++- > t/db_dependent/selenium/patrons_search.t | 1 + > t/db_dependent/selenium/remove_from_cart.t | 1 + > t/db_dependent/selenium/self_registration.t | 1 + > t/db_dependent/selenium/system_preferences_search.t | 1 + > t/db_dependent/selenium/update_child_to_adult.t | 1 + > t/db_dependent/sysprefs.t | 3 ++- > t/db_dependent/www/regressions.t | 3 ++- > t/db_dependent/www/rest_api.t | 1 + > t/db_dependent/yaml.t | 1 + > t/template_filters.t | 3 ++- > t/timezones.t | 3 ++- > 663 files changed, 1295 insertions(+), 633 deletions(-) > >diff --git a/t/00-check-atomic-updates.t b/t/00-check-atomic-updates.t >index b867be00bb7..52c221eeb79 100755 >--- a/t/00-check-atomic-updates.t >+++ b/t/00-check-atomic-updates.t >@@ -16,6 +16,7 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >+use Test::NoWarnings; > use Test::More; > use File::Find; > >diff --git a/t/00-deprecated.t b/t/00-deprecated.t >index 2c26e4af23a..0131992ca10 100755 >--- a/t/00-deprecated.t >+++ b/t/00-deprecated.t >@@ -5,7 +5,8 @@ > # > use warnings; > use strict; >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use File::Find; > use Cwd; > >diff --git a/t/00-load.t b/t/00-load.t >index e70f985049d..438c596ae54 100755 >--- a/t/00-load.t >+++ b/t/00-load.t >@@ -19,6 +19,7 @@ > > use Modern::Perl; > >+use Test::NoWarnings; > use Test::More; > use File::Spec; > use File::Find; >diff --git a/t/00-merge-conflict-markers.t b/t/00-merge-conflict-markers.t >index a3f95a3c28d..dbfecbc04df 100755 >--- a/t/00-merge-conflict-markers.t >+++ b/t/00-merge-conflict-markers.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use File::Spec; > use File::Find; > use IO::File; >diff --git a/t/00-testcritic.t b/t/00-testcritic.t >index 99f529f145e..fdf7df267c9 100755 >--- a/t/00-testcritic.t >+++ b/t/00-testcritic.t >@@ -3,6 +3,7 @@ > # This script can be used to run perlcritic on perl files in koha > > use Modern::Perl; >+use Test::NoWarnings; > use Test::More; > use English qw(-no_match_vars); > >diff --git a/t/00-valid-xml.t b/t/00-valid-xml.t >index 03c343799e4..a4c79df1b3c 100755 >--- a/t/00-valid-xml.t >+++ b/t/00-valid-xml.t >@@ -18,6 +18,7 @@ > use strict; > use warnings; > >+use Test::NoWarnings; > use Test::More; > use File::Spec; > use File::Find; >diff --git a/t/Acquisition/CanUserManageBasket.t b/t/Acquisition/CanUserManageBasket.t >index 6c2957d189b..ed2041374d4 100755 >--- a/t/Acquisition/CanUserManageBasket.t >+++ b/t/Acquisition/CanUserManageBasket.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 43; >+use Test::NoWarnings; >+use Test::More tests => 44; > > use C4::Acquisition qw( GetBasket GetBasketUsers CanUserManageBasket ); > >diff --git a/t/Auth.t b/t/Auth.t >index d45dfa5703c..d7eedee3768 100755 >--- a/t/Auth.t >+++ b/t/Auth.t >@@ -16,7 +16,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 12; >+use Test::NoWarnings; >+use Test::More tests => 13; > use Test::Warn; > > use C4::Auth qw( in_iprange ); >diff --git a/t/AuthoritiesMarc_MARC21.t b/t/AuthoritiesMarc_MARC21.t >index eed55b6458b..679d68ecab7 100755 >--- a/t/AuthoritiesMarc_MARC21.t >+++ b/t/AuthoritiesMarc_MARC21.t >@@ -8,7 +8,8 @@ use warnings; > > use Test::MockModule; > use Test::MockObject; >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use t::lib::Mocks; > use MARC::Record; > >diff --git a/t/AuthoritiesMarc_UNIMARC.t b/t/AuthoritiesMarc_UNIMARC.t >index 1779e4cb10e..4ac3e74a3c8 100755 >--- a/t/AuthoritiesMarc_UNIMARC.t >+++ b/t/AuthoritiesMarc_UNIMARC.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > BEGIN { > use_ok( 'C4::AuthoritiesMarc::UNIMARC', qw( default_auth_type_location ) ); >diff --git a/t/Barcodes_EAN13.t b/t/Barcodes_EAN13.t >index 664a80e2f83..e1654f8c532 100755 >--- a/t/Barcodes_EAN13.t >+++ b/t/Barcodes_EAN13.t >@@ -5,7 +5,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::Barcodes::EAN13'); >diff --git a/t/Barcodes_annual.t b/t/Barcodes_annual.t >index 8c4de3e211c..bbe01c18446 100755 >--- a/t/Barcodes_annual.t >+++ b/t/Barcodes_annual.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::Barcodes::annual'); >diff --git a/t/Barcodes_hbyymmincr.t b/t/Barcodes_hbyymmincr.t >index fa5bc89b1df..7d95df487e5 100755 >--- a/t/Barcodes_hbyymmincr.t >+++ b/t/Barcodes_hbyymmincr.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::Barcodes::hbyymmincr'); >diff --git a/t/Barcodes_incremental.t b/t/Barcodes_incremental.t >index ca9f4964991..3665ab9e834 100755 >--- a/t/Barcodes_incremental.t >+++ b/t/Barcodes_incremental.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::Barcodes::incremental'); >diff --git a/t/Biblio.t b/t/Biblio.t >index a521a52564e..0902fa6dde2 100755 >--- a/t/Biblio.t >+++ b/t/Biblio.t >@@ -17,6 +17,7 @@ > > use Modern::Perl; > >+use Test::NoWarnings; > use Test::More; > use Test::MockModule; > use Test::Warn; >diff --git a/t/Biblio/TransformHtmlToXml.t b/t/Biblio/TransformHtmlToXml.t >index 6d2de191e3b..5c245e63642 100755 >--- a/t/Biblio/TransformHtmlToXml.t >+++ b/t/Biblio/TransformHtmlToXml.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use t::lib::Mocks; > > use XML::Simple; >diff --git a/t/Biblio2.t b/t/Biblio2.t >index d015926a9f7..2f87ab6e502 100755 >--- a/t/Biblio2.t >+++ b/t/Biblio2.t >@@ -1,6 +1,7 @@ > #!/usr/bin/perl > > use Modern::Perl; >+use Test::NoWarnings; > use Test::More; > use Test::MockModule; > >diff --git a/t/Budgets.t b/t/Budgets.t >index daa217f6c07..cb5277ff906 100755 >--- a/t/Budgets.t >+++ b/t/Budgets.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::Budgets'); >diff --git a/t/Budgets/CanUserModifyBudget.t b/t/Budgets/CanUserModifyBudget.t >index 83905a18c1b..98a46a262f2 100755 >--- a/t/Budgets/CanUserModifyBudget.t >+++ b/t/Budgets/CanUserModifyBudget.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 134; >+use Test::NoWarnings; >+use Test::More tests => 135; > > use C4::Budgets qw( GetBudget GetBudgetUsers CanUserModifyBudget ); > use t::lib::Mocks; >diff --git a/t/Budgets/CanUserUseBudget.t b/t/Budgets/CanUserUseBudget.t >index e571c4f3011..76eef6ced14 100755 >--- a/t/Budgets/CanUserUseBudget.t >+++ b/t/Budgets/CanUserUseBudget.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 70; >+use Test::NoWarnings; >+use Test::More tests => 71; > > use C4::Budgets qw( GetBudget GetBudgetUsers CanUserUseBudget ); > use t::lib::Mocks; >diff --git a/t/Charset.t b/t/Charset.t >index 1c99c64f7bb..fa154a814d3 100755 >--- a/t/Charset.t >+++ b/t/Charset.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 16; >+use Test::NoWarnings; >+use Test::More tests => 17; > use Encode qw( is_utf8 ); > > use MARC::Record; >diff --git a/t/Circulation/AgeRestrictionMarkers.t b/t/Circulation/AgeRestrictionMarkers.t >index 2c4a6ce5675..4b927e6e28f 100755 >--- a/t/Circulation/AgeRestrictionMarkers.t >+++ b/t/Circulation/AgeRestrictionMarkers.t >@@ -22,7 +22,8 @@ use Modern::Perl; > > use DateTime; > use Koha::DateUtils qw( dt_from_string ); >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use Test::Warn; > > use t::lib::Mocks; >diff --git a/t/Circulation_barcodedecode.t b/t/Circulation_barcodedecode.t >index 7e2870b512c..1081bca2737 100755 >--- a/t/Circulation_barcodedecode.t >+++ b/t/Circulation_barcodedecode.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 29; >+use Test::NoWarnings; >+use Test::More tests => 30; > use Test::Warn; > > use C4::Context; >diff --git a/t/ClassSortRoutine.t b/t/ClassSortRoutine.t >index 971cfdbf256..100ebf1b5bd 100755 >--- a/t/ClassSortRoutine.t >+++ b/t/ClassSortRoutine.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::ClassSortRoutine'); >diff --git a/t/ClassSortRoutine_Dewey.t b/t/ClassSortRoutine_Dewey.t >index 24f60ff5bc2..c05f6973ef2 100755 >--- a/t/ClassSortRoutine_Dewey.t >+++ b/t/ClassSortRoutine_Dewey.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 10; >+use Test::NoWarnings; >+use Test::More tests => 11; > > BEGIN { > use_ok( 'C4::ClassSortRoutine::Dewey', qw( get_class_sort_key ) ); >diff --git a/t/ClassSortRoutine_Generic.t b/t/ClassSortRoutine_Generic.t >index 95e25ac1da9..843f56541f4 100755 >--- a/t/ClassSortRoutine_Generic.t >+++ b/t/ClassSortRoutine_Generic.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > BEGIN { > use_ok( 'C4::ClassSortRoutine::Generic', qw( get_class_sort_key ) ); >diff --git a/t/ClassSortRoutine_LCC.t b/t/ClassSortRoutine_LCC.t >index da0f8e461ea..bf37aeb6a33 100755 >--- a/t/ClassSortRoutine_LCC.t >+++ b/t/ClassSortRoutine_LCC.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 10; >+use Test::NoWarnings; >+use Test::More tests => 11; > > BEGIN { > use_ok( 'C4::ClassSortRoutine::LCC', qw( get_class_sort_key ) ); >diff --git a/t/ClassSource.t b/t/ClassSource.t >index e0e4e16e2c9..4a9229c23af 100755 >--- a/t/ClassSource.t >+++ b/t/ClassSource.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::ClassSource'); >diff --git a/t/Context.t b/t/Context.t >index af37e46830f..b7917b744be 100755 >--- a/t/Context.t >+++ b/t/Context.t >@@ -18,7 +18,8 @@ > use Modern::Perl; > > use DBI; >-use Test::More tests => 35; >+use Test::NoWarnings; >+use Test::More tests => 36; > use Test::MockModule; > use Test::Warn; > use YAML::XS; >diff --git a/t/Contract.t b/t/Contract.t >index f32b32affdc..c2e5ff97541 100755 >--- a/t/Contract.t >+++ b/t/Contract.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::Contract'); >diff --git a/t/CookieManager.t b/t/CookieManager.t >index 23a2c2c1727..b4d3604bff1 100755 >--- a/t/CookieManager.t >+++ b/t/CookieManager.t >@@ -20,7 +20,8 @@ > use Modern::Perl; > use CGI; > use Data::Dumper qw(Dumper); >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use t::lib::Mocks; > >diff --git a/t/Creators.t b/t/Creators.t >index ef3d6e95965..ca60077712e 100755 >--- a/t/Creators.t >+++ b/t/Creators.t >@@ -14,7 +14,8 @@ use strict; > use warnings; > > use File::Temp qw/ tempfile /; >-use Test::More tests => 41; >+use Test::NoWarnings; >+use Test::More tests => 42; > > BEGIN { > use_ok('C4::Creators'); >diff --git a/t/DateUtils.t b/t/DateUtils.t >index e515b9b0034..95e1aebeed7 100755 >--- a/t/DateUtils.t >+++ b/t/DateUtils.t >@@ -4,7 +4,8 @@ use DateTime::TimeZone; > > use C4::Context; > >-use Test::More tests => 83; >+use Test::NoWarnings; >+use Test::More tests => 84; > > use Test::MockModule; > use Test::Warn; >diff --git a/t/EdiInvoice.t b/t/EdiInvoice.t >index e6e6db3cd73..df9658a88e3 100755 >--- a/t/EdiInvoice.t >+++ b/t/EdiInvoice.t >@@ -3,7 +3,8 @@ use strict; > use warnings; > use FindBin qw( $Bin ); > >-use Test::More tests => 26; >+use Test::NoWarnings; >+use Test::More tests => 27; > use Koha::EDI; > > BEGIN { use_ok('Koha::Edifact') } >diff --git a/t/Ediorder.t b/t/Ediorder.t >index 7947b760c59..c8f07a788fb 100755 >--- a/t/Ediorder.t >+++ b/t/Ediorder.t >@@ -3,7 +3,8 @@ use strict; > use warnings; > use FindBin qw( $Bin ); > >-use Test::More tests => 13; >+use Test::NoWarnings; >+use Test::More tests => 14; > use t::lib::Mocks; > > BEGIN { use_ok('Koha::Edifact::Order') } >diff --git a/t/Ediordrsp.t b/t/Ediordrsp.t >index e31b8525a13..fc5897151a4 100755 >--- a/t/Ediordrsp.t >+++ b/t/Ediordrsp.t >@@ -3,7 +3,8 @@ use strict; > use warnings; > use FindBin qw( $Bin ); > >-use Test::More tests => 16; >+use Test::NoWarnings; >+use Test::More tests => 17; > > BEGIN { use_ok('Koha::Edifact') } > >diff --git a/t/External/BakerTaylor.t b/t/External/BakerTaylor.t >index 16a3ba96671..54a0adab869 100755 >--- a/t/External/BakerTaylor.t >+++ b/t/External/BakerTaylor.t >@@ -4,7 +4,8 @@ > > use Modern::Perl; > >-use Test::More tests => 9; >+use Test::NoWarnings; >+use Test::More tests => 10; > use t::lib::Mocks; > > BEGIN { >diff --git a/t/External/Syndetics.t b/t/External/Syndetics.t >index 54f9192dd63..8fa5b143657 100755 >--- a/t/External/Syndetics.t >+++ b/t/External/Syndetics.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::External::Syndetics'); >diff --git a/t/Form_MessagingPreferences.t b/t/Form_MessagingPreferences.t >index 3b9b1f81d1e..40a68dd4029 100755 >--- a/t/Form_MessagingPreferences.t >+++ b/t/Form_MessagingPreferences.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::Form::MessagingPreferences'); >diff --git a/t/HtmlTags.t b/t/HtmlTags.t >index bbbae0e39ef..4fb05c05a1c 100755 >--- a/t/HtmlTags.t >+++ b/t/HtmlTags.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > BEGIN { use_ok('Koha::Template::Plugin::HtmlTags'); } > >diff --git a/t/Installer_PerlModules.t b/t/Installer_PerlModules.t >index e24cfcd93b3..941b7b3d28e 100755 >--- a/t/Installer_PerlModules.t >+++ b/t/Installer_PerlModules.t >@@ -5,7 +5,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::Warn; > > BEGIN { >diff --git a/t/ItemCirculationAlertPreference.t b/t/ItemCirculationAlertPreference.t >index 0247b9b2973..3f2a283f28b 100755 >--- a/t/ItemCirculationAlertPreference.t >+++ b/t/ItemCirculationAlertPreference.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::ItemCirculationAlertPreference'); >diff --git a/t/Koha/Auth/Permissions.t b/t/Koha/Auth/Permissions.t >index 108373cfb66..fa9d68656a3 100755 >--- a/t/Koha/Auth/Permissions.t >+++ b/t/Koha/Auth/Permissions.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use_ok('Koha::Auth::Permissions'); > >diff --git a/t/Koha/Authority/ControlledIndicators.t b/t/Koha/Authority/ControlledIndicators.t >index 748bdd0075d..23f786af6af 100755 >--- a/t/Koha/Authority/ControlledIndicators.t >+++ b/t/Koha/Authority/ControlledIndicators.t >@@ -4,7 +4,8 @@ use Modern::Perl; > use Data::Dumper qw/Dumper/; > use MARC::Record; > use MARC::Field; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use t::lib::Mocks; > use Koha::Authority::ControlledIndicators; >diff --git a/t/Koha/Config.t b/t/Koha/Config.t >index 8809b34f6e2..7172647ff6f 100755 >--- a/t/Koha/Config.t >+++ b/t/Koha/Config.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use FindBin qw($Bin $Script); > > use_ok('Koha::Config'); >diff --git a/t/Koha/Database/Columns.t b/t/Koha/Database/Columns.t >index 9de820e344e..973b355438b 100755 >--- a/t/Koha/Database/Columns.t >+++ b/t/Koha/Database/Columns.t >@@ -16,7 +16,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::MockModule; > use FindBin qw($Bin); > use Encode; >diff --git a/t/Koha/DateTime/Format/RFC3339.t b/t/Koha/DateTime/Format/RFC3339.t >index 442ef9c4306..e3df3a569e0 100755 >--- a/t/Koha/DateTime/Format/RFC3339.t >+++ b/t/Koha/DateTime/Format/RFC3339.t >@@ -1,6 +1,7 @@ > #!/usr/bin/perl > > use Modern::Perl; >+use Test::NoWarnings; > use Test::More; > use Test::Exception; > >diff --git a/t/Koha/DateTime/Format/SQL.t b/t/Koha/DateTime/Format/SQL.t >index 9e3003c3983..1668aef6206 100755 >--- a/t/Koha/DateTime/Format/SQL.t >+++ b/t/Koha/DateTime/Format/SQL.t >@@ -4,6 +4,7 @@ use Modern::Perl; > use DateTime::TimeZone; > use Test::Exception; > use Test::MockModule; >+use Test::NoWarnings; > use Test::More; > > BEGIN { use_ok('Koha::DateTime::Format::SQL'); } >diff --git a/t/Koha/Email.t b/t/Koha/Email.t >index ea323240e8a..e80272092c3 100755 >--- a/t/Koha/Email.t >+++ b/t/Koha/Email.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > > use Test::MockModule; > use Test::Exception; >diff --git a/t/Koha/Exceptions.t b/t/Koha/Exceptions.t >index ac4a7e7d775..37a48a2c413 100755 >--- a/t/Koha/Exceptions.t >+++ b/t/Koha/Exceptions.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 12; >+use Test::NoWarnings; >+use Test::More tests => 13; > use Test::MockObject; > use Test::Exception; > >diff --git a/t/Koha/I18N.t b/t/Koha/I18N.t >index 7dfa623c415..45a34d3a0c1 100755 >--- a/t/Koha/I18N.t >+++ b/t/Koha/I18N.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 35; >+use Test::NoWarnings; >+use Test::More tests => 36; > use Test::MockModule; > use FindBin qw($Bin); > use Encode; >diff --git a/t/Koha/Installer/Output.t b/t/Koha/Installer/Output.t >index 46dc91c6d40..1b94f179126 100755 >--- a/t/Koha/Installer/Output.t >+++ b/t/Koha/Installer/Output.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > > use Koha::Installer::Output qw(say_warning say_failure say_success say_info); > >diff --git a/t/Koha/ItemType.t b/t/Koha/ItemType.t >index ea189511981..fe77716629c 100755 >--- a/t/Koha/ItemType.t >+++ b/t/Koha/ItemType.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > > BEGIN { > use_ok('Koha::ItemType'); >diff --git a/t/Koha/Middleware/RealIP.t b/t/Koha/Middleware/RealIP.t >index 0391f48cc46..3c4811c7b7b 100755 >--- a/t/Koha/Middleware/RealIP.t >+++ b/t/Koha/Middleware/RealIP.t >@@ -20,7 +20,8 @@ > > use strict; > use warnings; >-use Test::More tests => 11; >+use Test::NoWarnings; >+use Test::More tests => 12; > use Test::Warn; > > use t::lib::Mocks; >diff --git a/t/Koha/Middleware/SetEnv.t b/t/Koha/Middleware/SetEnv.t >index 6872c2c3a57..049b6b22d8c 100755 >--- a/t/Koha/Middleware/SetEnv.t >+++ b/t/Koha/Middleware/SetEnv.t >@@ -20,7 +20,8 @@ > > use strict; > use warnings; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Warn; > > use t::lib::Mocks; >diff --git a/t/Koha/Object/Message.t b/t/Koha/Object/Message.t >index 82c68dd335f..10fbb1d008b 100755 >--- a/t/Koha/Object/Message.t >+++ b/t/Koha/Object/Message.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Exception; > > BEGIN { >diff --git a/t/Koha/Plugins/SafeURL.t b/t/Koha/Plugins/SafeURL.t >index ae0cf40d055..054122ed7a0 100755 >--- a/t/Koha/Plugins/SafeURL.t >+++ b/t/Koha/Plugins/SafeURL.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Template; > > subtest 'test double-encoding prevention' => sub { >diff --git a/t/Koha/Plugins/Tab.t b/t/Koha/Plugins/Tab.t >index bbb27b7bd9e..f6595bb2297 100755 >--- a/t/Koha/Plugins/Tab.t >+++ b/t/Koha/Plugins/Tab.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Exception; > > use Koha::Plugins::Tab; >diff --git a/t/Koha/REST/Plugin/Query.t b/t/Koha/REST/Plugin/Query.t >index 52e71362c53..057314914fa 100755 >--- a/t/Koha/REST/Plugin/Query.t >+++ b/t/Koha/REST/Plugin/Query.t >@@ -369,7 +369,8 @@ sub to_model { > > # The tests > >-use Test::More tests => 10; >+use Test::NoWarnings; >+use Test::More tests => 11; > use Test::Mojo; > > subtest 'extract_reserved_params() tests' => sub { >diff --git a/t/Koha/Result/Boolean.t b/t/Koha/Result/Boolean.t >index 96edfe25420..8dc0f92a83a 100755 >--- a/t/Koha/Result/Boolean.t >+++ b/t/Koha/Result/Boolean.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use_ok('Koha::Result::Boolean'); > >diff --git a/t/Koha/Script.t b/t/Koha/Script.t >index eb5afe23534..e7a50f49325 100755 >--- a/t/Koha/Script.t >+++ b/t/Koha/Script.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::Exception; > > BEGIN { use_ok('Koha::Script') } >diff --git a/t/Koha/Script_cron.t b/t/Koha/Script_cron.t >index a84963f1246..1e03a487ff4 100755 >--- a/t/Koha/Script_cron.t >+++ b/t/Koha/Script_cron.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > BEGIN { use_ok( "Koha::Script", '-cron' ) } > >diff --git a/t/Koha/SearchEngine/Elasticsearch/QueryBuilder.t b/t/Koha/SearchEngine/Elasticsearch/QueryBuilder.t >index f851d9457aa..3f2e23ee4fd 100755 >--- a/t/Koha/SearchEngine/Elasticsearch/QueryBuilder.t >+++ b/t/Koha/SearchEngine/Elasticsearch/QueryBuilder.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > use t::lib::Mocks; > > use_ok('Koha::SearchEngine::Elasticsearch::QueryBuilder'); >diff --git a/t/Koha/SearchEngine/Elasticsearch/Search.t b/t/Koha/SearchEngine/Elasticsearch/Search.t >index daf20d628ff..2cb164a2772 100755 >--- a/t/Koha/SearchEngine/Elasticsearch/Search.t >+++ b/t/Koha/SearchEngine/Elasticsearch/Search.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::MockModule; > use t::lib::Mocks; > use Encode qw( encode ); >diff --git a/t/Koha/SearchEngine/Search.t b/t/Koha/SearchEngine/Search.t >index 39ba02529f8..3073116fe1e 100755 >--- a/t/Koha/SearchEngine/Search.t >+++ b/t/Koha/SearchEngine/Search.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Exception; > > use t::lib::Mocks; >diff --git a/t/Koha/SearchEngine/Zebra/QueryBuilder.t b/t/Koha/SearchEngine/Zebra/QueryBuilder.t >index 3635e5987e3..4764054c259 100755 >--- a/t/Koha/SearchEngine/Zebra/QueryBuilder.t >+++ b/t/Koha/SearchEngine/Zebra/QueryBuilder.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::MockModule; > > use_ok('Koha::SearchEngine::Zebra::QueryBuilder'); >diff --git a/t/Koha/Util/MARC.t b/t/Koha/Util/MARC.t >index 5a349c9eb2d..fa8140ef28f 100755 >--- a/t/Koha/Util/MARC.t >+++ b/t/Koha/Util/MARC.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use MARC::Record; > use MARC::Field; > >diff --git a/t/Koha/Util/Navigation.t b/t/Koha/Util/Navigation.t >index 1238c6958c9..fa1c5eb3f8f 100755 >--- a/t/Koha/Util/Navigation.t >+++ b/t/Koha/Util/Navigation.t >@@ -1,6 +1,7 @@ > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::MockObject; > > use t::lib::Mocks; >diff --git a/t/Koha/Util/Normalize.t b/t/Koha/Util/Normalize.t >index 1aeaf793d46..c50b08e54d3 100755 >--- a/t/Koha/Util/Normalize.t >+++ b/t/Koha/Util/Normalize.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use Test::Warn; > > BEGIN { >diff --git a/t/Koha/Util/OpenDocument.t b/t/Koha/Util/OpenDocument.t >index 898c38be9f9..e9b00a074af 100755 >--- a/t/Koha/Util/OpenDocument.t >+++ b/t/Koha/Util/OpenDocument.t >@@ -18,7 +18,8 @@ > use Modern::Perl; > > use File::Temp qw/tempfile/; >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > BEGIN { use_ok('Koha::Util::OpenDocument'); } > >diff --git a/t/Koha/Z3950responder.t b/t/Koha/Z3950responder.t >index 0a94cc0c9d7..a9ad440d1d5 100755 >--- a/t/Koha/Z3950responder.t >+++ b/t/Koha/Z3950responder.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > BEGIN { > use_ok('Koha::Z3950Responder'); >diff --git a/t/Koha_MetadataRecord.t b/t/Koha_MetadataRecord.t >index 4ede2590b4c..788ca7e9f98 100755 >--- a/t/Koha_MetadataRecord.t >+++ b/t/Koha_MetadataRecord.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Warn; > > use Koha::RecordProcessor; >diff --git a/t/Koha_SearchEngine_Elasticsearch_Browse.t b/t/Koha_SearchEngine_Elasticsearch_Browse.t >index 0ed478e25ec..299cd8b341a 100755 >--- a/t/Koha_SearchEngine_Elasticsearch_Browse.t >+++ b/t/Koha_SearchEngine_Elasticsearch_Browse.t >@@ -19,6 +19,7 @@ > > use Modern::Perl; > >+use Test::NoWarnings; > use Test::More; > > use_ok('Koha::SearchEngine::Elasticsearch::Browse'); >diff --git a/t/Koha_Template_Plugin_HtmlId.t b/t/Koha_Template_Plugin_HtmlId.t >index 552aa559642..79647fb4073 100755 >--- a/t/Koha_Template_Plugin_HtmlId.t >+++ b/t/Koha_Template_Plugin_HtmlId.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use_ok('Koha::Template::Plugin::HtmlId'); > >diff --git a/t/Koha_Template_Plugin_Koha.t b/t/Koha_Template_Plugin_Koha.t >index 285c37adcab..452db35dea1 100755 >--- a/t/Koha_Template_Plugin_Koha.t >+++ b/t/Koha_Template_Plugin_Koha.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::MockModule; > use t::lib::Mocks; > >diff --git a/t/Koha_Util_FrameworkPlugin.t b/t/Koha_Util_FrameworkPlugin.t >index 2f604761afb..8b6b0e785eb 100755 >--- a/t/Koha_Util_FrameworkPlugin.t >+++ b/t/Koha_Util_FrameworkPlugin.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > > use_ok( 'Koha::Util::FrameworkPlugin', qw(wrapper date_entered) ); > >diff --git a/t/Koha_Util_MARC.t b/t/Koha_Util_MARC.t >index 2558a844146..7948e45e3b6 100755 >--- a/t/Koha_Util_MARC.t >+++ b/t/Koha_Util_MARC.t >@@ -23,7 +23,8 @@ > use strict; > use warnings; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use MARC::Record; > > BEGIN { >diff --git a/t/Koha_XSLT_HTTPS.t b/t/Koha_XSLT_HTTPS.t >index be7cd93d336..6ac67bbc5d4 100755 >--- a/t/Koha_XSLT_HTTPS.t >+++ b/t/Koha_XSLT_HTTPS.t >@@ -22,7 +22,8 @@ use Modern::Perl; > use Test::Exception; > use Test::MockModule; > use Test::MockObject; >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::XSLT::HTTPS; > >diff --git a/t/Labels_split_Regex.t b/t/Labels_split_Regex.t >index 688e18edbce..7edada5713c 100755 >--- a/t/Labels_split_Regex.t >+++ b/t/Labels_split_Regex.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use C4::ClassSplitRoutine::RegEx qw( split_callnumber ); > > my $callnumbers = { >diff --git a/t/Labels_split_ccn.t b/t/Labels_split_ccn.t >index 3fe7f781682..670340bd521 100755 >--- a/t/Labels_split_ccn.t >+++ b/t/Labels_split_ccn.t >@@ -20,6 +20,7 @@ > use strict; > use warnings; > >+use Test::NoWarnings; > use Test::More; > > BEGIN { >diff --git a/t/Labels_split_ddcn.t b/t/Labels_split_ddcn.t >index f7c5dff52c9..e3ef5e9e9a1 100755 >--- a/t/Labels_split_ddcn.t >+++ b/t/Labels_split_ddcn.t >@@ -20,6 +20,7 @@ > use strict; > use warnings; > >+use Test::NoWarnings; > use Test::More; > > BEGIN { >diff --git a/t/Labels_split_lccn.t b/t/Labels_split_lccn.t >index 14332d0a40b..6d112e5c5f1 100755 >--- a/t/Labels_split_lccn.t >+++ b/t/Labels_split_lccn.t >@@ -21,6 +21,7 @@ use strict; > use warnings; > > use C4::ClassSplitRoutine::LCC qw( split_callnumber ); >+use Test::NoWarnings; > use Test::More; > > BEGIN { >diff --git a/t/Languages.t b/t/Languages.t >index f8b4defb8eb..d573ac7b691 100755 >--- a/t/Languages.t >+++ b/t/Languages.t >@@ -18,7 +18,8 @@ > # with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::MockModule; > use CGI qw ( -utf8 ); > use Koha::Cache::Memory::Lite; >diff --git a/t/Logger.t b/t/Logger.t >index ce1b9dd23c9..3017aab3875 100755 >--- a/t/Logger.t >+++ b/t/Logger.t >@@ -22,7 +22,8 @@ use Koha::Logger; > use t::lib::Mocks; > > use File::Temp qw/tempfile/; >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Warn; > use Test::Exception; > >diff --git a/t/Makefile.t b/t/Makefile.t >index 4a4814de6b8..dc3e88dcc97 100755 >--- a/t/Makefile.t >+++ b/t/Makefile.t >@@ -16,7 +16,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use File::Slurp; > > my @files = `git ls-tree HEAD|tr -s '\t' ' '|cut -d' ' -f4`; >diff --git a/t/Members_Messaging.t b/t/Members_Messaging.t >index 112ecf21ba1..4fb0ab0de49 100755 >--- a/t/Members_Messaging.t >+++ b/t/Members_Messaging.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::Members::Messaging'); >diff --git a/t/Number/Price.t b/t/Number/Price.t >index 2bb929f5ce5..cc72bc6f76e 100755 >--- a/t/Number/Price.t >+++ b/t/Number/Price.t >@@ -1,6 +1,7 @@ > use Modern::Perl; > >-use Test::More tests => 37; >+use Test::NoWarnings; >+use Test::More tests => 38; > > use Test::MockModule; > use t::lib::Mocks; >diff --git a/t/OpenLibrarySearch.t b/t/OpenLibrarySearch.t >index a9cfc5458a3..ff9f9b45593 100755 >--- a/t/OpenLibrarySearch.t >+++ b/t/OpenLibrarySearch.t >@@ -18,7 +18,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use LWP::Simple; > use JSON; > my $content = get("https://openlibrary.org/search.json?q=9780201038095"); >diff --git a/t/Output.t b/t/Output.t >index 88af19c0c8f..b860ade25f6 100755 >--- a/t/Output.t >+++ b/t/Output.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > use Test::Warn; > use Test::MockModule; > >diff --git a/t/Output_JSONStream.t b/t/Output_JSONStream.t >index 88d27891e90..91512a32b5e 100755 >--- a/t/Output_JSONStream.t >+++ b/t/Output_JSONStream.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 10; >+use Test::NoWarnings; >+use Test::More tests => 11; > > BEGIN { > use_ok('C4::Output::JSONStream'); >diff --git a/t/Patroncards.t b/t/Patroncards.t >index ac89c8f7d92..448a7168c1d 100755 >--- a/t/Patroncards.t >+++ b/t/Patroncards.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::Patroncards'); >diff --git a/t/Patroncards_Batch.t b/t/Patroncards_Batch.t >index fe052e09310..e4c3d6373eb 100755 >--- a/t/Patroncards_Batch.t >+++ b/t/Patroncards_Batch.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::Patroncards::Batch'); >diff --git a/t/Patroncards_Lib.t b/t/Patroncards_Lib.t >index 1730ac78bf8..26706e0ee79 100755 >--- a/t/Patroncards_Lib.t >+++ b/t/Patroncards_Lib.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::Patroncards::Lib'); >diff --git a/t/Patroncards_Patroncard.t b/t/Patroncards_Patroncard.t >index 2dd35e73a01..ef08b9ca641 100755 >--- a/t/Patroncards_Patroncard.t >+++ b/t/Patroncards_Patroncard.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::Patroncards::Patroncard'); >diff --git a/t/Patroncards_Profile.t b/t/Patroncards_Profile.t >index 2a5d8aa8174..8a3b3207c1a 100755 >--- a/t/Patroncards_Profile.t >+++ b/t/Patroncards_Profile.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::Patroncards::Profile'); >diff --git a/t/Patroncards_Template.t b/t/Patroncards_Template.t >index 8c5f89669ac..501b51eb20b 100755 >--- a/t/Patroncards_Template.t >+++ b/t/Patroncards_Template.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::Patroncards::Template'); >diff --git a/t/RecordProcessor.t b/t/RecordProcessor.t >index 89a3e31909e..32e8512b820 100755 >--- a/t/RecordProcessor.t >+++ b/t/RecordProcessor.t >@@ -22,6 +22,7 @@ use Modern::Perl; > use File::Spec; > use MARC::Record; > use English qw( -no_match_vars ); >+use Test::NoWarnings; > use Test::More; > > BEGIN { >diff --git a/t/Ris.t b/t/Ris.t >index 91bfb238793..4ef5afb353d 100755 >--- a/t/Ris.t >+++ b/t/Ris.t >@@ -6,7 +6,8 @@ > use Modern::Perl; > > use t::lib::Mocks; >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > BEGIN { > use_ok('C4::Ris'); >diff --git a/t/SIP/Sip.t b/t/SIP/Sip.t >index 8130d2fa07e..e4fa108690f 100755 >--- a/t/SIP/Sip.t >+++ b/t/SIP/Sip.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 9; >+use Test::NoWarnings; >+use Test::More tests => 10; > use Test::Warn; > > BEGIN { >diff --git a/t/SMS.t b/t/SMS.t >index 763251a7137..e55c5f1ef75 100755 >--- a/t/SMS.t >+++ b/t/SMS.t >@@ -19,7 +19,8 @@ use Modern::Perl; > > use t::lib::Mocks; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > > BEGIN { > use_ok( 'C4::SMS', qw( driver send_sms ) ); >diff --git a/t/Scheduler.t b/t/Scheduler.t >index 1b861357a06..f9dd966bf33 100755 >--- a/t/Scheduler.t >+++ b/t/Scheduler.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > > BEGIN { > use_ok( 'C4::Scheduler', qw( get_jobs get_at_jobs get_at_job add_at_job remove_at_job ) ); >diff --git a/t/Scrubber.t b/t/Scrubber.t >index 7ce4759724d..273b9623130 100755 >--- a/t/Scrubber.t >+++ b/t/Scrubber.t >@@ -3,7 +3,8 @@ > use Modern::Perl; > > $| = 1; >-use Test::More tests => 31; >+use Test::NoWarnings; >+use Test::More tests => 32; > use Test::Warn; > > BEGIN { >diff --git a/t/Search.t b/t/Search.t >index 048a5ac0a92..f2d4ebf7216 100755 >--- a/t/Search.t >+++ b/t/Search.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::MockModule; > use Test::Warn; > use t::lib::Mocks; >diff --git a/t/Search/History.t b/t/Search/History.t >index 594d05d6bcf..32efb2471b1 100755 >--- a/t/Search/History.t >+++ b/t/Search/History.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use URI::Escape; > use JSON qw( decode_json ); > >diff --git a/t/Search/buildQuery.t b/t/Search/buildQuery.t >index 8aa1d9ae3ab..52013386588 100755 >--- a/t/Search/buildQuery.t >+++ b/t/Search/buildQuery.t >@@ -16,7 +16,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 9; >+use Test::NoWarnings; >+use Test::More tests => 10; > use Net::Z3950::ZOOM; > > use t::lib::Mocks; >diff --git a/t/Search_PazPar2.t b/t/Search_PazPar2.t >index 66a1fa6844e..2479c6192f2 100755 >--- a/t/Search_PazPar2.t >+++ b/t/Search_PazPar2.t >@@ -5,7 +5,8 @@ > > use Modern::Perl; > >-use Test::More tests => 14; >+use Test::NoWarnings; >+use Test::More tests => 15; > use Test::Warn; > > BEGIN { >diff --git a/t/Serials/GetNextSeq.t b/t/Serials/GetNextSeq.t >index 05526a59adc..5d36b70278e 100755 >--- a/t/Serials/GetNextSeq.t >+++ b/t/Serials/GetNextSeq.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 46; >+use Test::NoWarnings; >+use Test::More tests => 47; > use C4::Serials qw( GetNextSeq ); > > # TEST CASE 1 - 1 variable, from 1 to 4 >diff --git a/t/Serials/ModSerialStatus.t b/t/Serials/ModSerialStatus.t >index ee5f40b7318..d0795b82174 100755 >--- a/t/Serials/ModSerialStatus.t >+++ b/t/Serials/ModSerialStatus.t >@@ -22,7 +22,8 @@ > use Modern::Perl; > use Data::Dumper qw/Dumper/; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > > use C4::Serials; > >diff --git a/t/SimpleMARC.t b/t/SimpleMARC.t >index 589f948caba..9c8c1dbba50 100755 >--- a/t/SimpleMARC.t >+++ b/t/SimpleMARC.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 12; >+use Test::NoWarnings; >+use Test::More tests => 13; > > use_ok("MARC::Field"); > use_ok("MARC::Record"); >diff --git a/t/SuggestionEngine.t b/t/SuggestionEngine.t >index f729cd17e66..ac28ee5a5dd 100755 >--- a/t/SuggestionEngine.t >+++ b/t/SuggestionEngine.t >@@ -4,6 +4,7 @@ use strict; > use warnings; > use File::Spec; > >+use Test::NoWarnings; > use Test::More; > > BEGIN { >diff --git a/t/SuggestionEngine_AuthorityFile.t b/t/SuggestionEngine_AuthorityFile.t >index ed26cc64091..aee736ffb45 100755 >--- a/t/SuggestionEngine_AuthorityFile.t >+++ b/t/SuggestionEngine_AuthorityFile.t >@@ -20,7 +20,8 @@ > # for every call to SearchAuthorities > > use Modern::Perl; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::MockModule; > > use Koha::SuggestionEngine; >diff --git a/t/Template/Utils.t b/t/Template/Utils.t >index 0f1a9ed3075..ed6c4351ec3 100755 >--- a/t/Template/Utils.t >+++ b/t/Template/Utils.t >@@ -18,7 +18,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use utf8; > >diff --git a/t/Test/Dates.t b/t/Test/Dates.t >index 690c683c01a..cf202847777 100755 >--- a/t/Test/Dates.t >+++ b/t/Test/Dates.t >@@ -1,5 +1,6 @@ > use Modern::Perl; >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > use t::lib::Dates; > use Koha::DateUtils qw( dt_from_string ); > >diff --git a/t/TmplToken.t b/t/TmplToken.t >index 465edacdef6..d8912f45f4a 100755 >--- a/t/TmplToken.t >+++ b/t/TmplToken.t >@@ -5,7 +5,8 @@ > > use strict; > use warnings; >-use Test::More tests => 19; >+use Test::NoWarnings; >+use Test::More tests => 20; > > BEGIN { > use_ok('C4::TmplToken'); >diff --git a/t/Token.t b/t/Token.t >index 55247b68bbb..6b0c0f50370 100755 >--- a/t/Token.t >+++ b/t/Token.t >@@ -20,7 +20,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 12; >+use Test::NoWarnings; >+use Test::More tests => 13; > use Test::Exception; > use Time::HiRes qw|usleep|; > >diff --git a/t/db_dependent/00-strict.t b/t/db_dependent/00-strict.t >index 66a3e8694f6..3899af48f72 100755 >--- a/t/db_dependent/00-strict.t >+++ b/t/db_dependent/00-strict.t >@@ -5,6 +5,7 @@ use strict; > use warnings; > > use threads; # used for parallel >+use Test::NoWarnings; > use Test::More; > use Test::Strict; > use Parallel::ForkManager; >diff --git a/t/db_dependent/Accounts.t b/t/db_dependent/Accounts.t >index 79bc9186145..069feffe569 100755 >--- a/t/db_dependent/Accounts.t >+++ b/t/db_dependent/Accounts.t >@@ -18,7 +18,8 @@ > > use Modern::Perl; > >-use Test::More tests => 27; >+use Test::NoWarnings; >+use Test::More tests => 28; > use Test::MockModule; > use Test::Exception; > use Test::Warn; >diff --git a/t/db_dependent/Acquisition.t b/t/db_dependent/Acquisition.t >index d8b8f9768cc..7552a2d3458 100755 >--- a/t/db_dependent/Acquisition.t >+++ b/t/db_dependent/Acquisition.t >@@ -19,7 +19,8 @@ use Modern::Perl; > > use POSIX qw(strftime); > >-use Test::More tests => 73; >+use Test::NoWarnings; >+use Test::More tests => 74; > use t::lib::Mocks; > use Koha::Database; > use Koha::DateUtils qw(dt_from_string output_pref); >diff --git a/t/db_dependent/Acquisition/CancelReceipt.t b/t/db_dependent/Acquisition/CancelReceipt.t >index 78dcf4af71c..d465647fd09 100755 >--- a/t/db_dependent/Acquisition/CancelReceipt.t >+++ b/t/db_dependent/Acquisition/CancelReceipt.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 12; >+use Test::NoWarnings; >+use Test::More tests => 13; > use t::lib::TestBuilder; > > use C4::Context; >diff --git a/t/db_dependent/Acquisition/FillWithDefaultValues.t b/t/db_dependent/Acquisition/FillWithDefaultValues.t >index fc19aefce62..ea735e48dca 100755 >--- a/t/db_dependent/Acquisition/FillWithDefaultValues.t >+++ b/t/db_dependent/Acquisition/FillWithDefaultValues.t >@@ -1,5 +1,6 @@ > use Modern::Perl; >-use Test::More tests => 12; >+use Test::NoWarnings; >+use Test::More tests => 13; > use Test::MockModule; > > use MARC::Record; >diff --git a/t/db_dependent/Acquisition/GetBasketAsCSV.t b/t/db_dependent/Acquisition/GetBasketAsCSV.t >index 45c9c7b950c..f8d194d4670 100755 >--- a/t/db_dependent/Acquisition/GetBasketAsCSV.t >+++ b/t/db_dependent/Acquisition/GetBasketAsCSV.t >@@ -4,7 +4,8 @@ use Modern::Perl; > > use CGI; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > > use C4::Acquisition qw( NewBasket GetBasket GetBasketAsCSV ); > use C4::Biblio qw( AddBiblio ); >diff --git a/t/db_dependent/Acquisition/GetBasketGroupAsCSV.t b/t/db_dependent/Acquisition/GetBasketGroupAsCSV.t >index 5715183ecfd..53bb100244b 100755 >--- a/t/db_dependent/Acquisition/GetBasketGroupAsCSV.t >+++ b/t/db_dependent/Acquisition/GetBasketGroupAsCSV.t >@@ -4,7 +4,8 @@ use Modern::Perl; > > use CGI; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use C4::Acquisition qw( NewBasket NewBasketgroup GetBasketGroupAsCSV ); > use C4::Biblio qw( AddBiblio ); >diff --git a/t/db_dependent/Acquisition/GetBasketsInfosByBookseller.t b/t/db_dependent/Acquisition/GetBasketsInfosByBookseller.t >index 852f8407f9a..7ca84133de1 100755 >--- a/t/db_dependent/Acquisition/GetBasketsInfosByBookseller.t >+++ b/t/db_dependent/Acquisition/GetBasketsInfosByBookseller.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 43; >+use Test::NoWarnings; >+use Test::More tests => 44; > use Data::Dumper; > > use C4::Acquisition >diff --git a/t/db_dependent/Acquisition/GetOrdersByBiblionumber.t b/t/db_dependent/Acquisition/GetOrdersByBiblionumber.t >index 56803ce8894..510291300b7 100755 >--- a/t/db_dependent/Acquisition/GetOrdersByBiblionumber.t >+++ b/t/db_dependent/Acquisition/GetOrdersByBiblionumber.t >@@ -2,6 +2,7 @@ > > use Modern::Perl; > >+use Test::NoWarnings; > use Test::More; > use C4::Acquisition qw( NewBasket GetOrders GetOrdersByBiblionumber GetOrder ); > use C4::Biblio qw( AddBiblio ); >diff --git a/t/db_dependent/Acquisition/Invoices.t b/t/db_dependent/Acquisition/Invoices.t >index c82e168202a..0ac98f044f3 100755 >--- a/t/db_dependent/Acquisition/Invoices.t >+++ b/t/db_dependent/Acquisition/Invoices.t >@@ -8,7 +8,8 @@ use Koha::Acquisition::Booksellers; > use Koha::Acquisition::Orders; > use Koha::Database; > >-use Test::More tests => 29; >+use Test::NoWarnings; >+use Test::More tests => 30; > > BEGIN { > use_ok( >diff --git a/t/db_dependent/Acquisition/NewOrder.t b/t/db_dependent/Acquisition/NewOrder.t >index ab5f55095db..a653db6792f 100755 >--- a/t/db_dependent/Acquisition/NewOrder.t >+++ b/t/db_dependent/Acquisition/NewOrder.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > use C4::Acquisition qw( NewBasket ); > use C4::Biblio qw( AddBiblio ); > use C4::Budgets qw( AddBudget GetBudget ); >diff --git a/t/db_dependent/Acquisition/OrderFromSubscription.t b/t/db_dependent/Acquisition/OrderFromSubscription.t >index d601163b724..6df5a18d217 100755 >--- a/t/db_dependent/Acquisition/OrderFromSubscription.t >+++ b/t/db_dependent/Acquisition/OrderFromSubscription.t >@@ -1,6 +1,7 @@ > use Modern::Perl; > >-use Test::More tests => 12; >+use Test::NoWarnings; >+use Test::More tests => 13; > > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Acquisition/OrderUsers.t b/t/db_dependent/Acquisition/OrderUsers.t >index cd408003cf6..cf67201c854 100755 >--- a/t/db_dependent/Acquisition/OrderUsers.t >+++ b/t/db_dependent/Acquisition/OrderUsers.t >@@ -1,5 +1,6 @@ > use Modern::Perl; >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use C4::Acquisition qw( NewBasket AddInvoice ModOrder ModOrderUsers GetOrder GetOrderUsers ModReceiveOrder ); > use C4::Biblio qw( AddBiblio ); >diff --git a/t/db_dependent/Acquisition/StandingOrders.t b/t/db_dependent/Acquisition/StandingOrders.t >index 48ab35a6115..1d4509da633 100755 >--- a/t/db_dependent/Acquisition/StandingOrders.t >+++ b/t/db_dependent/Acquisition/StandingOrders.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 14; >+use Test::NoWarnings; >+use Test::More tests => 15; > use C4::Context; > use C4::Acquisition qw( NewBasket GetBasket SearchOrders AddInvoice ModReceiveOrder CancelReceipt ); > use C4::Biblio qw( AddBiblio ); >diff --git a/t/db_dependent/Acquisition/TransferOrder.t b/t/db_dependent/Acquisition/TransferOrder.t >index 459674c72e3..d5fdfff5ec1 100755 >--- a/t/db_dependent/Acquisition/TransferOrder.t >+++ b/t/db_dependent/Acquisition/TransferOrder.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 14; >+use Test::NoWarnings; >+use Test::More tests => 15; > use C4::Context; > use C4::Acquisition qw( NewBasket GetOrders GetOrder TransferOrder SearchOrders ModReceiveOrder CancelReceipt ); > use C4::Biblio; >diff --git a/t/db_dependent/Acquisition/close_reopen_basket.t b/t/db_dependent/Acquisition/close_reopen_basket.t >index bef18fc53a0..271cc4b39fa 100755 >--- a/t/db_dependent/Acquisition/close_reopen_basket.t >+++ b/t/db_dependent/Acquisition/close_reopen_basket.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 14; >+use Test::NoWarnings; >+use Test::More tests => 15; > use C4::Acquisition qw( NewBasket GetBiblioCountByBasketno GetOrders GetOrder ReopenBasket ); > use C4::Biblio qw( AddBiblio ); > use C4::Budgets qw( AddBudget GetBudget ); >diff --git a/t/db_dependent/Acquisition/populate_order_with_prices.t b/t/db_dependent/Acquisition/populate_order_with_prices.t >index a4eac542f9b..152c319b119 100755 >--- a/t/db_dependent/Acquisition/populate_order_with_prices.t >+++ b/t/db_dependent/Acquisition/populate_order_with_prices.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 44; >+use Test::NoWarnings; >+use Test::More tests => 45; > use C4::Context; > use Koha::Database; > use Koha::Acquisition::Bookseller; >diff --git a/t/db_dependent/Amazon.t b/t/db_dependent/Amazon.t >index 751429dae91..7af86666217 100755 >--- a/t/db_dependent/Amazon.t >+++ b/t/db_dependent/Amazon.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > use t::lib::Mocks; > use C4::Context; > >diff --git a/t/db_dependent/ArticleRequests.t b/t/db_dependent/ArticleRequests.t >index f4abe2c8af8..ac4c9dabee5 100755 >--- a/t/db_dependent/ArticleRequests.t >+++ b/t/db_dependent/ArticleRequests.t >@@ -19,7 +19,8 @@ use Modern::Perl; > > use POSIX qw(strftime); > >-use Test::More tests => 36; >+use Test::NoWarnings; >+use Test::More tests => 37; > use Test::MockModule; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/AudioAlerts.t b/t/db_dependent/AudioAlerts.t >index 6bb694c0d9d..d3eaed05735 100755 >--- a/t/db_dependent/AudioAlerts.t >+++ b/t/db_dependent/AudioAlerts.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 33; >+use Test::NoWarnings; >+use Test::More tests => 34; > > BEGIN { > use_ok('Koha::AudioAlert'); >diff --git a/t/db_dependent/Auth/haspermission.t b/t/db_dependent/Auth/haspermission.t >index 23055739106..01cf6341c29 100755 >--- a/t/db_dependent/Auth/haspermission.t >+++ b/t/db_dependent/Auth/haspermission.t >@@ -20,7 +20,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Exception; > > use Koha::Database; >diff --git a/t/db_dependent/AuthUtils.t b/t/db_dependent/AuthUtils.t >index b587ac28a0f..07d76191919 100755 >--- a/t/db_dependent/AuthUtils.t >+++ b/t/db_dependent/AuthUtils.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Exception; > use Test::MockModule; > use t::lib::Mocks; >diff --git a/t/db_dependent/Auth_with_cas.t b/t/db_dependent/Auth_with_cas.t >index d223e5d4c46..7dc65e97890 100755 >--- a/t/db_dependent/Auth_with_cas.t >+++ b/t/db_dependent/Auth_with_cas.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::MockModule; > use Test::MockObject; > >diff --git a/t/db_dependent/Auth_with_ldap.t b/t/db_dependent/Auth_with_ldap.t >index 3b88d0e7a17..4806cac3e1d 100755 >--- a/t/db_dependent/Auth_with_ldap.t >+++ b/t/db_dependent/Auth_with_ldap.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::MockModule; > use Test::MockObject; > use Test::Warn; >diff --git a/t/db_dependent/AuthoritiesMarc.t b/t/db_dependent/AuthoritiesMarc.t >index 600a0b6e28e..ba1588ead87 100755 >--- a/t/db_dependent/AuthoritiesMarc.t >+++ b/t/db_dependent/AuthoritiesMarc.t >@@ -5,7 +5,8 @@ > > use Modern::Perl; > >-use Test::More tests => 13; >+use Test::NoWarnings; >+use Test::More tests => 14; > use Test::MockModule; > use Test::Warn; > use MARC::Field; >diff --git a/t/db_dependent/AuthoritiesMarc/MARC21.t b/t/db_dependent/AuthoritiesMarc/MARC21.t >index d658b97645b..9eead9fda5c 100755 >--- a/t/db_dependent/AuthoritiesMarc/MARC21.t >+++ b/t/db_dependent/AuthoritiesMarc/MARC21.t >@@ -5,7 +5,8 @@ use strict; > use warnings; > > use Test::MockModule; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use MARC::Field; > use MARC::Record; > >diff --git a/t/db_dependent/AuthoritiesMarc_GetTagsLabels.t b/t/db_dependent/AuthoritiesMarc_GetTagsLabels.t >index 2ddbda45360..8679bf388c6 100755 >--- a/t/db_dependent/AuthoritiesMarc_GetTagsLabels.t >+++ b/t/db_dependent/AuthoritiesMarc_GetTagsLabels.t >@@ -20,7 +20,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Authority/Merge.t b/t/db_dependent/Authority/Merge.t >index c46ad51e9cd..e7f50694ce9 100755 >--- a/t/db_dependent/Authority/Merge.t >+++ b/t/db_dependent/Authority/Merge.t >@@ -4,7 +4,8 @@ > > use Modern::Perl; > >-use Test::More tests => 12; >+use Test::NoWarnings; >+use Test::More tests => 13; > > use Getopt::Long; > use MARC::Record; >diff --git a/t/db_dependent/Authority/MergeRequests.t b/t/db_dependent/Authority/MergeRequests.t >index 55fac79f51a..744543a73a7 100755 >--- a/t/db_dependent/Authority/MergeRequests.t >+++ b/t/db_dependent/Authority/MergeRequests.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Authority::MergeRequest; > use Koha::Authority::MergeRequests; >diff --git a/t/db_dependent/Authority/Subfields.t b/t/db_dependent/Authority/Subfields.t >index e760cbb3995..5c77b9bf4c1 100755 >--- a/t/db_dependent/Authority/Subfields.t >+++ b/t/db_dependent/Authority/Subfields.t >@@ -18,7 +18,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Authority/Tags.t b/t/db_dependent/Authority/Tags.t >index a30d23e528c..894be5686e4 100755 >--- a/t/db_dependent/Authority/Tags.t >+++ b/t/db_dependent/Authority/Tags.t >@@ -18,7 +18,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Barcodes.t b/t/db_dependent/Barcodes.t >index 847b95b9b4c..697a7cfdb8c 100755 >--- a/t/db_dependent/Barcodes.t >+++ b/t/db_dependent/Barcodes.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 76; >+use Test::NoWarnings; >+use Test::More tests => 77; > use Test::Warn; > use Test::MockModule; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Barcodes_ValueBuilder.t b/t/db_dependent/Barcodes_ValueBuilder.t >index b4eb059c2ce..01157bd972d 100755 >--- a/t/db_dependent/Barcodes_ValueBuilder.t >+++ b/t/db_dependent/Barcodes_ValueBuilder.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 9; >+use Test::NoWarnings; >+use Test::More tests => 10; > use Test::MockModule; > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Biblio/Isbd.t b/t/db_dependent/Biblio/Isbd.t >index bc11dad07ac..051ae798f1c 100755 >--- a/t/db_dependent/Biblio/Isbd.t >+++ b/t/db_dependent/Biblio/Isbd.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::MockModule; > use MARC::Record; > use t::lib::Mocks qw( mock_preference ); >diff --git a/t/db_dependent/Biblio/MarcOverlayRules.t b/t/db_dependent/Biblio/MarcOverlayRules.t >index 7becb4e39c5..3fdf7412ef7 100755 >--- a/t/db_dependent/Biblio/MarcOverlayRules.t >+++ b/t/db_dependent/Biblio/MarcOverlayRules.t >@@ -26,7 +26,8 @@ use C4::Biblio qw( AddBiblio ModBiblio DelBiblio ); > use Koha::Database; > use Koha::Biblios; > >-use Test::More tests => 24; >+use Test::NoWarnings; >+use Test::More tests => 25; > use Test::MockModule; > > use Koha::MarcOverlayRules; >diff --git a/t/db_dependent/Biblio/ModBiblioMarc.t b/t/db_dependent/Biblio/ModBiblioMarc.t >index 00799add0f8..1b07268ff72 100755 >--- a/t/db_dependent/Biblio/ModBiblioMarc.t >+++ b/t/db_dependent/Biblio/ModBiblioMarc.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use t::lib::Mocks; > use t::lib::TestBuilder; > use MARC::Record; >diff --git a/t/db_dependent/Biblio/TransformHtmlToMarc.t b/t/db_dependent/Biblio/TransformHtmlToMarc.t >index 4b5cb7e6d37..5b936fa727c 100755 >--- a/t/db_dependent/Biblio/TransformHtmlToMarc.t >+++ b/t/db_dependent/Biblio/TransformHtmlToMarc.t >@@ -3,7 +3,8 @@ > use Modern::Perl; > use CGI; > use Encode qw( encode ); >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use Koha::Caches; > use Koha::Database; >diff --git a/t/db_dependent/Biblio/TransformKohaToMarc.t b/t/db_dependent/Biblio/TransformKohaToMarc.t >index d3fd9f9d24d..6a825ebe6e3 100755 >--- a/t/db_dependent/Biblio/TransformKohaToMarc.t >+++ b/t/db_dependent/Biblio/TransformKohaToMarc.t >@@ -1,5 +1,6 @@ > use Modern::Perl; >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use MARC::Record; > > use t::lib::Mocks; >diff --git a/t/db_dependent/Biblio/TransformMarcToKoha.t b/t/db_dependent/Biblio/TransformMarcToKoha.t >index b85dd1525d5..6cf3eff006c 100755 >--- a/t/db_dependent/Biblio/TransformMarcToKoha.t >+++ b/t/db_dependent/Biblio/TransformMarcToKoha.t >@@ -19,7 +19,8 @@ > # with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use MARC::Record; > > use t::lib::Mocks; >diff --git a/t/db_dependent/Biblio_holdsqueue.t b/t/db_dependent/Biblio_holdsqueue.t >index dc8824c6e87..6fcb685d532 100755 >--- a/t/db_dependent/Biblio_holdsqueue.t >+++ b/t/db_dependent/Biblio_holdsqueue.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::MockModule; > > use t::lib::Mocks; >diff --git a/t/db_dependent/Breeding.t b/t/db_dependent/Breeding.t >index 531f1c233f2..e042446b05c 100755 >--- a/t/db_dependent/Breeding.t >+++ b/t/db_dependent/Breeding.t >@@ -24,7 +24,8 @@ > > use Modern::Perl; > use File::Temp qw/tempfile/; >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Warn; > > use t::lib::Mocks qw( mock_preference ); >diff --git a/t/db_dependent/Breeding_Auth.t b/t/db_dependent/Breeding_Auth.t >index c40e551d7f5..9997dbc14ab 100755 >--- a/t/db_dependent/Breeding_Auth.t >+++ b/t/db_dependent/Breeding_Auth.t >@@ -22,7 +22,8 @@ > use Modern::Perl; > use utf8; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::MockModule; > use Test::MockObject; > use Test::Warn; >diff --git a/t/db_dependent/Budgets/CloneBudgetHierarchy.t b/t/db_dependent/Budgets/CloneBudgetHierarchy.t >index 570d63bcf41..6dcd1c00d22 100755 >--- a/t/db_dependent/Budgets/CloneBudgetHierarchy.t >+++ b/t/db_dependent/Budgets/CloneBudgetHierarchy.t >@@ -2,6 +2,7 @@ > > use Modern::Perl; > >+use Test::NoWarnings; > use Test::More; > > use Koha::Database; >diff --git a/t/db_dependent/Cache.t b/t/db_dependent/Cache.t >index 1e313366b11..10175f5162d 100755 >--- a/t/db_dependent/Cache.t >+++ b/t/db_dependent/Cache.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 44; >+use Test::NoWarnings; >+use Test::More tests => 45; > use Test::Warn; > > my $destructorcount = 0; >diff --git a/t/db_dependent/Calendar.t b/t/db_dependent/Calendar.t >index 90dc45bbe2a..8cf87da34fa 100755 >--- a/t/db_dependent/Calendar.t >+++ b/t/db_dependent/Calendar.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use Time::Fake; > > use t::lib::Mocks; >diff --git a/t/db_dependent/Charset.t b/t/db_dependent/Charset.t >index c1a0236fdd8..7847560fca0 100755 >--- a/t/db_dependent/Charset.t >+++ b/t/db_dependent/Charset.t >@@ -1,5 +1,6 @@ > use Modern::Perl; >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use MARC::Record; > > use C4::Biblio qw( GetMarcFromKohaField AddBiblio ); >diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t >index d3e7dea4f69..101857d3b79 100755 >--- a/t/db_dependent/Circulation.t >+++ b/t/db_dependent/Circulation.t >@@ -18,7 +18,8 @@ > use Modern::Perl; > use utf8; > >-use Test::More tests => 75; >+use Test::NoWarnings; >+use Test::More tests => 76; > use Test::Exception; > use Test::MockModule; > use Test::Deep qw( cmp_deeply ); >diff --git a/t/db_dependent/Circulation/Branch.t b/t/db_dependent/Circulation/Branch.t >index 09c7e539908..2963444f61b 100755 >--- a/t/db_dependent/Circulation/Branch.t >+++ b/t/db_dependent/Circulation/Branch.t >@@ -25,7 +25,8 @@ use Koha::CirculationRules; > > use Koha::Patrons; > >-use Test::More tests => 18; >+use Test::NoWarnings; >+use Test::More tests => 19; > use t::lib::Mocks; > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Circulation/CalcDateDue.t b/t/db_dependent/Circulation/CalcDateDue.t >index 1f2fa7842dc..e4a1ea8bd97 100755 >--- a/t/db_dependent/Circulation/CalcDateDue.t >+++ b/t/db_dependent/Circulation/CalcDateDue.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 23; >+use Test::NoWarnings; >+use Test::More tests => 24; > use Test::MockModule; > use DBI; > use DateTime; >diff --git a/t/db_dependent/Circulation/CalcFine.t b/t/db_dependent/Circulation/CalcFine.t >index 5a7b9d98e70..3fd1bd5f9a6 100755 >--- a/t/db_dependent/Circulation/CalcFine.t >+++ b/t/db_dependent/Circulation/CalcFine.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > use Test::Warn; > > use C4::Context; >diff --git a/t/db_dependent/Circulation/CheckIfIssuedToPatron.t b/t/db_dependent/Circulation/CheckIfIssuedToPatron.t >index 3aa02e9168a..eccbeb5e567 100755 >--- a/t/db_dependent/Circulation/CheckIfIssuedToPatron.t >+++ b/t/db_dependent/Circulation/CheckIfIssuedToPatron.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 21; >+use Test::NoWarnings; >+use Test::More tests => 22; > use Test::MockModule; > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Circulation/CheckValidBarcode.t b/t/db_dependent/Circulation/CheckValidBarcode.t >index 3eb235c5df8..5980467ca3f 100755 >--- a/t/db_dependent/Circulation/CheckValidBarcode.t >+++ b/t/db_dependent/Circulation/CheckValidBarcode.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 10; >+use Test::NoWarnings; >+use Test::More tests => 11; > > use C4::Circulation qw( CheckValidBarcode ); > use C4::Biblio qw( AddBiblio ); >diff --git a/t/db_dependent/Circulation/GetHardDueDate.t b/t/db_dependent/Circulation/GetHardDueDate.t >index 502a8ed2877..598c04c1db3 100755 >--- a/t/db_dependent/Circulation/GetHardDueDate.t >+++ b/t/db_dependent/Circulation/GetHardDueDate.t >@@ -10,7 +10,8 @@ use Koha::Library; > > use t::lib::TestBuilder; > >-use Test::More tests => 9; >+use Test::NoWarnings; >+use Test::More tests => 10; > > BEGIN { > use_ok( 'C4::Circulation', qw( GetHardDueDate GetLoanLength ) ); >diff --git a/t/db_dependent/Circulation/GetPendingOnSiteCheckouts.t b/t/db_dependent/Circulation/GetPendingOnSiteCheckouts.t >index 6a9e92bd14f..b85c3143771 100755 >--- a/t/db_dependent/Circulation/GetPendingOnSiteCheckouts.t >+++ b/t/db_dependent/Circulation/GetPendingOnSiteCheckouts.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::MockModule; > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Circulation/GetTopIssues.t b/t/db_dependent/Circulation/GetTopIssues.t >index 96a5f83750e..6985f4a72a0 100755 >--- a/t/db_dependent/Circulation/GetTopIssues.t >+++ b/t/db_dependent/Circulation/GetTopIssues.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 14; >+use Test::NoWarnings; >+use Test::More tests => 15; > use Test::MockModule; > use t::lib::Mocks; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Circulation/IsItemIssued.t b/t/db_dependent/Circulation/IsItemIssued.t >index 57016c5158d..b737c3c69bf 100755 >--- a/t/db_dependent/Circulation/IsItemIssued.t >+++ b/t/db_dependent/Circulation/IsItemIssued.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::MockModule; > > use C4::Circulation qw( IsItemIssued AddIssue AddReturn ); >diff --git a/t/db_dependent/Circulation/MarkIssueReturned.t b/t/db_dependent/Circulation/MarkIssueReturned.t >index 7918a971874..c65787c4341 100755 >--- a/t/db_dependent/Circulation/MarkIssueReturned.t >+++ b/t/db_dependent/Circulation/MarkIssueReturned.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Exception; > > use t::lib::Mocks; >diff --git a/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t b/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t >index fb9c0a070d7..f8ed66d0c31 100755 >--- a/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t >+++ b/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > > use t::lib::TestBuilder; > use t::lib::Mocks; >diff --git a/t/db_dependent/Circulation/OfflineCirculation.t b/t/db_dependent/Circulation/OfflineCirculation.t >index b20c0840a15..ac74899d7b2 100755 >--- a/t/db_dependent/Circulation/OfflineCirculation.t >+++ b/t/db_dependent/Circulation/OfflineCirculation.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::MockModule; > use Test::Warn; > >diff --git a/t/db_dependent/Circulation/OfflineOperation.t b/t/db_dependent/Circulation/OfflineOperation.t >index ba903477cae..5aab62db717 100755 >--- a/t/db_dependent/Circulation/OfflineOperation.t >+++ b/t/db_dependent/Circulation/OfflineOperation.t >@@ -7,7 +7,8 @@ use Koha::Database; > use Koha::DateUtils qw( dt_from_string output_pref ); > use Koha::Library; > >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > > BEGIN { > use_ok( >diff --git a/t/db_dependent/Circulation/ReturnClaims.t b/t/db_dependent/Circulation/ReturnClaims.t >index 96c2a05e96c..267c831a71c 100755 >--- a/t/db_dependent/Circulation/ReturnClaims.t >+++ b/t/db_dependent/Circulation/ReturnClaims.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::MockModule; > use Test::Warn; > >diff --git a/t/db_dependent/Circulation/Returns.t b/t/db_dependent/Circulation/Returns.t >index 4382ff69a0f..2f6d326fdfe 100755 >--- a/t/db_dependent/Circulation/Returns.t >+++ b/t/db_dependent/Circulation/Returns.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > use Test::MockModule; > use Test::Warn; > >diff --git a/t/db_dependent/Circulation/StoreLastBorrower.t b/t/db_dependent/Circulation/StoreLastBorrower.t >index 8c81503765e..876d882c05b 100755 >--- a/t/db_dependent/Circulation/StoreLastBorrower.t >+++ b/t/db_dependent/Circulation/StoreLastBorrower.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use C4::Circulation qw( AddReturn ); > use C4::Context; >diff --git a/t/db_dependent/Circulation/SwitchOnSiteCheckouts.t b/t/db_dependent/Circulation/SwitchOnSiteCheckouts.t >index ccc400684f4..4859ef4076e 100755 >--- a/t/db_dependent/Circulation/SwitchOnSiteCheckouts.t >+++ b/t/db_dependent/Circulation/SwitchOnSiteCheckouts.t >@@ -15,7 +15,8 @@ > # with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 10; >+use Test::NoWarnings; >+use Test::More tests => 11; > use C4::Context; > > use C4::Circulation qw( TooMany AddIssue CanBookBeIssued ); >diff --git a/t/db_dependent/Circulation/TooMany.t b/t/db_dependent/Circulation/TooMany.t >index 17980bb7cea..cc44f751f76 100755 >--- a/t/db_dependent/Circulation/TooMany.t >+++ b/t/db_dependent/Circulation/TooMany.t >@@ -15,7 +15,8 @@ > # with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 11; >+use Test::NoWarnings; >+use Test::More tests => 12; > use C4::Context; > > use C4::Members; >diff --git a/t/db_dependent/Circulation/_CalculateAndUpdateFine.t b/t/db_dependent/Circulation/_CalculateAndUpdateFine.t >index b1f18cbce01..7d21f625536 100755 >--- a/t/db_dependent/Circulation/_CalculateAndUpdateFine.t >+++ b/t/db_dependent/Circulation/_CalculateAndUpdateFine.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > use Koha::DateUtils qw( dt_from_string ); >diff --git a/t/db_dependent/Circulation/dateexpiry.t b/t/db_dependent/Circulation/dateexpiry.t >index 8a1e5c8976c..8eb52d443dc 100755 >--- a/t/db_dependent/Circulation/dateexpiry.t >+++ b/t/db_dependent/Circulation/dateexpiry.t >@@ -19,7 +19,8 @@ use Modern::Perl; > > use DateTime; > use Time::HiRes qw/gettimeofday time/; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use C4::Members; > use Koha::DateUtils qw( dt_from_string output_pref ); > use Koha::Database; >diff --git a/t/db_dependent/Circulation/issue.t b/t/db_dependent/Circulation/issue.t >index 2b00d54a330..aff60236c25 100755 >--- a/t/db_dependent/Circulation/issue.t >+++ b/t/db_dependent/Circulation/issue.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 67; >+use Test::NoWarnings; >+use Test::More tests => 68; > use DateTime::Duration; > > use t::lib::Mocks; >diff --git a/t/db_dependent/Circulation/maxsuspensiondays.t b/t/db_dependent/Circulation/maxsuspensiondays.t >index f8c8b61f2a7..1da7c873572 100755 >--- a/t/db_dependent/Circulation/maxsuspensiondays.t >+++ b/t/db_dependent/Circulation/maxsuspensiondays.t >@@ -1,5 +1,6 @@ > use Modern::Perl; >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use MARC::Record; > use MARC::Field; >diff --git a/t/db_dependent/Circulation/transferbook.t b/t/db_dependent/Circulation/transferbook.t >index ad447dc0a60..72564761135 100755 >--- a/t/db_dependent/Circulation/transferbook.t >+++ b/t/db_dependent/Circulation/transferbook.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use t::lib::TestBuilder; > use t::lib::Mocks; > >diff --git a/t/db_dependent/Circulation/transfers.t b/t/db_dependent/Circulation/transfers.t >index 458f0b28fb1..016238ed224 100755 >--- a/t/db_dependent/Circulation/transfers.t >+++ b/t/db_dependent/Circulation/transfers.t >@@ -27,7 +27,8 @@ use Koha::Item::Transfers; > > use t::lib::TestBuilder; > >-use Test::More tests => 19; >+use Test::NoWarnings; >+use Test::More tests => 20; > use Test::Deep; > > BEGIN { >diff --git a/t/db_dependent/ClassSources.t b/t/db_dependent/ClassSources.t >index 98d8f2b988d..d05a586f648 100755 >--- a/t/db_dependent/ClassSources.t >+++ b/t/db_dependent/ClassSources.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use t::lib::TestBuilder; > > use Koha::ClassSortRules; >diff --git a/t/db_dependent/Clubs.t b/t/db_dependent/Clubs.t >index 8cb3b07b037..aea0205008f 100755 >--- a/t/db_dependent/Clubs.t >+++ b/t/db_dependent/Clubs.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 38; >+use Test::NoWarnings; >+use Test::More tests => 39; > use Test::Warn; > > use C4::Context; >diff --git a/t/db_dependent/Context.t b/t/db_dependent/Context.t >index e6b9296e294..979c4a79dd0 100755 >--- a/t/db_dependent/Context.t >+++ b/t/db_dependent/Context.t >@@ -16,7 +16,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::MockModule; > > use C4::Context; >diff --git a/t/db_dependent/Contract.t b/t/db_dependent/Contract.t >index 5010da6e551..194d997f638 100755 >--- a/t/db_dependent/Contract.t >+++ b/t/db_dependent/Contract.t >@@ -26,7 +26,8 @@ use Koha::Acquisition::Booksellers; > > use DateTime::Duration; > >-use Test::More tests => 43; >+use Test::NoWarnings; >+use Test::More tests => 44; > > BEGIN { > use_ok( 'C4::Contract', qw( GetContracts GetContract AddContract ModContract DelContract ) ); >diff --git a/t/db_dependent/CourseReserves.t b/t/db_dependent/CourseReserves.t >index 3c9a882f557..972b302d60b 100755 >--- a/t/db_dependent/CourseReserves.t >+++ b/t/db_dependent/CourseReserves.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 26; >+use Test::NoWarnings; >+use Test::More tests => 27; > > use Koha::Database; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/CourseReserves/CourseItems.t b/t/db_dependent/CourseReserves/CourseItems.t >index 432c859adee..c5f5a8f7906 100755 >--- a/t/db_dependent/CourseReserves/CourseItems.t >+++ b/t/db_dependent/CourseReserves/CourseItems.t >@@ -24,7 +24,8 @@ use C4::CourseReserves > use C4::Context; > use Koha::Items; > >-use Test::More tests => 36; >+use Test::NoWarnings; >+use Test::More tests => 37; > > BEGIN { > require_ok('C4::CourseReserves'); >diff --git a/t/db_dependent/Creators/Lib.t b/t/db_dependent/Creators/Lib.t >index c98088d9285..8d430fd35c2 100755 >--- a/t/db_dependent/Creators/Lib.t >+++ b/t/db_dependent/Creators/Lib.t >@@ -18,7 +18,8 @@ > > use Modern::Perl; > use Graphics::Magick; >-use Test::More tests => 653; >+use Test::NoWarnings; >+use Test::More tests => 654; > use Test::MockModule; > use t::lib::Mocks; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/DecreaseLoanHighHolds.t b/t/db_dependent/DecreaseLoanHighHolds.t >index 925cf493b92..ada2984d4ef 100755 >--- a/t/db_dependent/DecreaseLoanHighHolds.t >+++ b/t/db_dependent/DecreaseLoanHighHolds.t >@@ -30,7 +30,8 @@ use Koha::CirculationRules; > use t::lib::TestBuilder; > use t::lib::Mocks; > >-use Test::More tests => 26; >+use Test::NoWarnings; >+use Test::More tests => 27; > > my $dbh = C4::Context->dbh; > my $schema = Koha::Database->new()->schema(); >diff --git a/t/db_dependent/Exporter/Record.t b/t/db_dependent/Exporter/Record.t >index ac506e4effb..0dbfb84016f 100755 >--- a/t/db_dependent/Exporter/Record.t >+++ b/t/db_dependent/Exporter/Record.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use Test::Warn; > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Filter_MARC_ViewPolicy.t b/t/db_dependent/Filter_MARC_ViewPolicy.t >index 78dd77f77ea..a7ad1faf0e7 100755 >--- a/t/db_dependent/Filter_MARC_ViewPolicy.t >+++ b/t/db_dependent/Filter_MARC_ViewPolicy.t >@@ -23,7 +23,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use List::MoreUtils qw/any/; > use MARC::Record; >diff --git a/t/db_dependent/Fines.t b/t/db_dependent/Fines.t >index 67360f92e2f..9ae973403b6 100755 >--- a/t/db_dependent/Fines.t >+++ b/t/db_dependent/Fines.t >@@ -7,7 +7,8 @@ use C4::Overdues qw( CalcFine ); > use Koha::Database; > use Koha::DateUtils qw( dt_from_string ); > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > > my $schema = Koha::Database->new->schema; > $schema->storage->txn_begin; >diff --git a/t/db_dependent/FrameworkPlugin.t b/t/db_dependent/FrameworkPlugin.t >index 9207ea2761f..a692834e2e6 100755 >--- a/t/db_dependent/FrameworkPlugin.t >+++ b/t/db_dependent/FrameworkPlugin.t >@@ -3,7 +3,8 @@ use Modern::Perl; > use CGI; > use File::Temp qw/tempfile/; > use Getopt::Long; >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > use Test::MockModule; > use Test::Warn; > >diff --git a/t/db_dependent/Heading.t b/t/db_dependent/Heading.t >index 5b4ecbdbe47..1356bca8a0a 100755 >--- a/t/db_dependent/Heading.t >+++ b/t/db_dependent/Heading.t >@@ -18,7 +18,8 @@ > use strict; > use warnings; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use t::lib::Mocks; > use Test::MockModule; >diff --git a/t/db_dependent/Heading_MARC21.t b/t/db_dependent/Heading_MARC21.t >index ade6e83a48a..efdd7da4acf 100755 >--- a/t/db_dependent/Heading_MARC21.t >+++ b/t/db_dependent/Heading_MARC21.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 10; >+use Test::NoWarnings; >+use Test::More tests => 11; > use C4::Context; > > BEGIN { >diff --git a/t/db_dependent/Hold.t b/t/db_dependent/Hold.t >index cb517426bad..23e42c4291a 100755 >--- a/t/db_dependent/Hold.t >+++ b/t/db_dependent/Hold.t >@@ -29,7 +29,8 @@ use Koha::Item; > use Koha::DateUtils qw( dt_from_string ); > use t::lib::TestBuilder; > >-use Test::More tests => 35; >+use Test::NoWarnings; >+use Test::More tests => 36; > use Test::Exception; > use Test::Warn; > >diff --git a/t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t b/t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t >index 26486b156a4..5617e38b93c 100755 >--- a/t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t >+++ b/t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t >@@ -9,7 +9,8 @@ use Koha::Items; > use Koha::Cache::Memory::Lite; > use Koha::CirculationRules; > >-use Test::More tests => 13; >+use Test::NoWarnings; >+use Test::More tests => 14; > > use t::lib::TestBuilder; > use t::lib::Mocks; >diff --git a/t/db_dependent/Holds/ExpireReservesAutoFill.t b/t/db_dependent/Holds/ExpireReservesAutoFill.t >index 1a7f43491a2..03bb2302488 100755 >--- a/t/db_dependent/Holds/ExpireReservesAutoFill.t >+++ b/t/db_dependent/Holds/ExpireReservesAutoFill.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use t::lib::Mocks; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Holds/HoldFulfillmentPolicy.t b/t/db_dependent/Holds/HoldFulfillmentPolicy.t >index bc6ef88148b..0ada9ef32eb 100755 >--- a/t/db_dependent/Holds/HoldFulfillmentPolicy.t >+++ b/t/db_dependent/Holds/HoldFulfillmentPolicy.t >@@ -5,7 +5,8 @@ use Modern::Perl; > use C4::Context; > use Koha::CirculationRules; > >-use Test::More tests => 11; >+use Test::NoWarnings; >+use Test::More tests => 12; > > use t::lib::TestBuilder; > use t::lib::Mocks; >diff --git a/t/db_dependent/Holds/HoldItemtypeLimit.t b/t/db_dependent/Holds/HoldItemtypeLimit.t >index c2337d3b147..692a3d778b2 100755 >--- a/t/db_dependent/Holds/HoldItemtypeLimit.t >+++ b/t/db_dependent/Holds/HoldItemtypeLimit.t >@@ -5,7 +5,8 @@ use Modern::Perl; > use C4::Context; > use Koha::CirculationRules; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Holds/LocalHoldsPriority.t b/t/db_dependent/Holds/LocalHoldsPriority.t >index 45677a1e51e..c78a06e11ed 100755 >--- a/t/db_dependent/Holds/LocalHoldsPriority.t >+++ b/t/db_dependent/Holds/LocalHoldsPriority.t >@@ -5,7 +5,8 @@ use Modern::Perl; > use t::lib::Mocks; > use C4::Context; > >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > use MARC::Record; > > use Koha::Patrons; >diff --git a/t/db_dependent/Holds/RevertWaitingStatus.t b/t/db_dependent/Holds/RevertWaitingStatus.t >index a26fa5fb0cc..fdcb06423f1 100755 >--- a/t/db_dependent/Holds/RevertWaitingStatus.t >+++ b/t/db_dependent/Holds/RevertWaitingStatus.t >@@ -16,7 +16,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use MARC::Record; > > use Koha::Libraries; >diff --git a/t/db_dependent/Holds/WaitingReserves.t b/t/db_dependent/Holds/WaitingReserves.t >index ddadaa157ee..616145d2154 100755 >--- a/t/db_dependent/Holds/WaitingReserves.t >+++ b/t/db_dependent/Holds/WaitingReserves.t >@@ -8,7 +8,8 @@ use Koha::DateUtils qw( dt_from_string ); > use t::lib::Mocks; > use t::lib::TestBuilder; > >-use Test::More tests => 13; >+use Test::NoWarnings; >+use Test::More tests => 14; > > use_ok( 'C4::Reserves', qw( ModReserve ModReserveAffect ) ); > >diff --git a/t/db_dependent/HoldsQueue.t b/t/db_dependent/HoldsQueue.t >index 73594fdfa70..66df3e083e5 100755 >--- a/t/db_dependent/HoldsQueue.t >+++ b/t/db_dependent/HoldsQueue.t >@@ -8,7 +8,8 @@ > > use Modern::Perl; > >-use Test::More tests => 64; >+use Test::NoWarnings; >+use Test::More tests => 65; > use Data::Dumper; > > use C4::Calendar qw( new insert_single_holiday ); >diff --git a/t/db_dependent/Holidays.t b/t/db_dependent/Holidays.t >index c15ae674e99..3095475fed5 100755 >--- a/t/db_dependent/Holidays.t >+++ b/t/db_dependent/Holidays.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 14; >+use Test::NoWarnings; >+use Test::More tests => 15; > use Test::Exception; > > use DateTime; >diff --git a/t/db_dependent/ILSDI_Services.t b/t/db_dependent/ILSDI_Services.t >index 6a420a383fb..8cccec08287 100755 >--- a/t/db_dependent/ILSDI_Services.t >+++ b/t/db_dependent/ILSDI_Services.t >@@ -19,7 +19,8 @@ use Modern::Perl; > > use CGI qw ( -utf8 ); > >-use Test::More tests => 14; >+use Test::NoWarnings; >+use Test::More tests => 15; > use Test::MockModule; > use t::lib::Mocks; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/ImportBatch.t b/t/db_dependent/ImportBatch.t >index 4016d9686c2..2e51162bf35 100755 >--- a/t/db_dependent/ImportBatch.t >+++ b/t/db_dependent/ImportBatch.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 20; >+use Test::NoWarnings; >+use Test::More tests => 21; > use utf8; > use File::Basename; > use File::Temp qw/tempfile/; >diff --git a/t/db_dependent/ImportExportFramework.t b/t/db_dependent/ImportExportFramework.t >index a5210459697..fc23285f526 100755 >--- a/t/db_dependent/ImportExportFramework.t >+++ b/t/db_dependent/ImportExportFramework.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Installer.t b/t/db_dependent/Installer.t >index 5570d008a38..fc053c694c0 100755 >--- a/t/db_dependent/Installer.t >+++ b/t/db_dependent/Installer.t >@@ -22,7 +22,8 @@ > # Add more tests here!!! > > use Modern::Perl; >-use Test::More tests => 22; >+use Test::NoWarnings; >+use Test::More tests => 23; > use File::Temp qw(tempfile); > use utf8; > >diff --git a/t/db_dependent/Items.t b/t/db_dependent/Items.t >index 6f310a9fb7c..cb65fab2d8c 100755 >--- a/t/db_dependent/Items.t >+++ b/t/db_dependent/Items.t >@@ -36,7 +36,8 @@ use Koha::AuthorisedValues; > use t::lib::Mocks; > use t::lib::TestBuilder; > >-use Test::More tests => 14; >+use Test::NoWarnings; >+use Test::More tests => 15; > > use Test::Warn; > >diff --git a/t/db_dependent/Items/AutomaticItemModificationByAge.t b/t/db_dependent/Items/AutomaticItemModificationByAge.t >index 3603c45fb0b..79dff9425b5 100755 >--- a/t/db_dependent/Items/AutomaticItemModificationByAge.t >+++ b/t/db_dependent/Items/AutomaticItemModificationByAge.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 20; >+use Test::NoWarnings; >+use Test::More tests => 21; > use MARC::Record; > use MARC::Field; > use DateTime; >diff --git a/t/db_dependent/Items/GetAnalyticsCount.t b/t/db_dependent/Items/GetAnalyticsCount.t >index 7430102b26c..3ede834b08f 100755 >--- a/t/db_dependent/Items/GetAnalyticsCount.t >+++ b/t/db_dependent/Items/GetAnalyticsCount.t >@@ -1,6 +1,7 @@ > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::MockModule; > use t::lib::Mocks; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Items/GetItemsForInventory.t b/t/db_dependent/Items/GetItemsForInventory.t >index d93bbdd46bf..e9c178ebd82 100755 >--- a/t/db_dependent/Items/GetItemsForInventory.t >+++ b/t/db_dependent/Items/GetItemsForInventory.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > use t::lib::TestBuilder; > > use List::MoreUtils qw( any none ); >diff --git a/t/db_dependent/Koha.t b/t/db_dependent/Koha.t >index f010d00b133..986a8b354c5 100755 >--- a/t/db_dependent/Koha.t >+++ b/t/db_dependent/Koha.t >@@ -4,7 +4,8 @@ > # It requires a working Koha database with the sample data > > use Modern::Perl; >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use Test::MockModule; > use Test::Warn; > use Test::Deep; >diff --git a/t/db_dependent/Koha/Account.t b/t/db_dependent/Koha/Account.t >index 37e9ebf9fcd..2a798f18806 100755 >--- a/t/db_dependent/Koha/Account.t >+++ b/t/db_dependent/Koha/Account.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 15; >+use Test::NoWarnings; >+use Test::More tests => 16; > use Test::MockModule; > use Test::Exception; > >diff --git a/t/db_dependent/Koha/Account/DebitType.t b/t/db_dependent/Koha/Account/DebitType.t >index c13d7586e78..7771d8aebd0 100755 >--- a/t/db_dependent/Koha/Account/DebitType.t >+++ b/t/db_dependent/Koha/Account/DebitType.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > > use Koha::Account::DebitTypes; > use Koha::Database; >diff --git a/t/db_dependent/Koha/Account/DebitTypes.t b/t/db_dependent/Koha/Account/DebitTypes.t >index 3f6148ee525..eca958d51c9 100755 >--- a/t/db_dependent/Koha/Account/DebitTypes.t >+++ b/t/db_dependent/Koha/Account/DebitTypes.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use Koha::Account::DebitType; > use Koha::Account::DebitTypes; >diff --git a/t/db_dependent/Koha/Account/Line.t b/t/db_dependent/Koha/Account/Line.t >index ad2e4911ab2..07e0f1cfa66 100755 >--- a/t/db_dependent/Koha/Account/Line.t >+++ b/t/db_dependent/Koha/Account/Line.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 15; >+use Test::NoWarnings; >+use Test::More tests => 16; > use Test::Exception; > use Test::MockModule; > >diff --git a/t/db_dependent/Koha/Account/Lines.t b/t/db_dependent/Koha/Account/Lines.t >index 8267874a855..fa25b5d107e 100755 >--- a/t/db_dependent/Koha/Account/Lines.t >+++ b/t/db_dependent/Koha/Account/Lines.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::Exception; > use Test::MockModule; > >diff --git a/t/db_dependent/Koha/Account/Offsets.t b/t/db_dependent/Koha/Account/Offsets.t >index dd851dd9a8a..f1b593219ce 100755 >--- a/t/db_dependent/Koha/Account/Offsets.t >+++ b/t/db_dependent/Koha/Account/Offsets.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use Koha::Account::Offsets; > >diff --git a/t/db_dependent/Koha/Acquisition/Basket.t b/t/db_dependent/Koha/Acquisition/Basket.t >index b7bca18e769..9d629c543a9 100755 >--- a/t/db_dependent/Koha/Acquisition/Basket.t >+++ b/t/db_dependent/Koha/Acquisition/Basket.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 13; >+use Test::NoWarnings; >+use Test::More tests => 14; > use Test::Exception; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/Acquisition/Baskets.t b/t/db_dependent/Koha/Acquisition/Baskets.t >index a70cccfa885..8a9bb71ead7 100755 >--- a/t/db_dependent/Koha/Acquisition/Baskets.t >+++ b/t/db_dependent/Koha/Acquisition/Baskets.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use Koha::Database; > use Koha::Acquisition::Basket; >diff --git a/t/db_dependent/Koha/Acquisition/Budgets.t b/t/db_dependent/Koha/Acquisition/Budgets.t >index 7b464629782..ec1491db843 100755 >--- a/t/db_dependent/Koha/Acquisition/Budgets.t >+++ b/t/db_dependent/Koha/Acquisition/Budgets.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use Koha::Acquisition::Budgets; > use Koha::Database; >diff --git a/t/db_dependent/Koha/Acquisition/Currencies.t b/t/db_dependent/Koha/Acquisition/Currencies.t >index 93facad3d1e..516ac51fb6f 100755 >--- a/t/db_dependent/Koha/Acquisition/Currencies.t >+++ b/t/db_dependent/Koha/Acquisition/Currencies.t >@@ -18,7 +18,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > use Koha::Database; > use Koha::Acquisition::Currency; > use Koha::Acquisition::Currencies; >diff --git a/t/db_dependent/Koha/Acquisition/Fund.t b/t/db_dependent/Koha/Acquisition/Fund.t >index ff1c6fe02bd..633aba7f415 100755 >--- a/t/db_dependent/Koha/Acquisition/Fund.t >+++ b/t/db_dependent/Koha/Acquisition/Fund.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::Warn; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/Acquisition/Funds.t b/t/db_dependent/Koha/Acquisition/Funds.t >index 43e01562af9..9fdc4436775 100755 >--- a/t/db_dependent/Koha/Acquisition/Funds.t >+++ b/t/db_dependent/Koha/Acquisition/Funds.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use Koha::Acquisition::Funds; > use Koha::Database; >diff --git a/t/db_dependent/Koha/Acquisition/Invoice.t b/t/db_dependent/Koha/Acquisition/Invoice.t >index 1875bd78c68..430abb090a1 100755 >--- a/t/db_dependent/Koha/Acquisition/Invoice.t >+++ b/t/db_dependent/Koha/Acquisition/Invoice.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::MockModule; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/Acquisition/Invoice/Adjustments.t b/t/db_dependent/Koha/Acquisition/Invoice/Adjustments.t >index 1a4b32ff1d6..ad7b9410c77 100755 >--- a/t/db_dependent/Koha/Acquisition/Invoice/Adjustments.t >+++ b/t/db_dependent/Koha/Acquisition/Invoice/Adjustments.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > > use Koha::Database; > >diff --git a/t/db_dependent/Koha/Acquisition/Order.t b/t/db_dependent/Koha/Acquisition/Order.t >index 0f7b7f21b55..1d6a94c362b 100755 >--- a/t/db_dependent/Koha/Acquisition/Order.t >+++ b/t/db_dependent/Koha/Acquisition/Order.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 13; >+use Test::NoWarnings; >+use Test::More tests => 14; > use Test::Exception; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/Acquisition/Orders.t b/t/db_dependent/Koha/Acquisition/Orders.t >index 707c8f50826..288e9ee6463 100755 >--- a/t/db_dependent/Koha/Acquisition/Orders.t >+++ b/t/db_dependent/Koha/Acquisition/Orders.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::Exception; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/ActionLogs.t b/t/db_dependent/Koha/ActionLogs.t >index 5131f76e637..6a931566a8a 100755 >--- a/t/db_dependent/Koha/ActionLogs.t >+++ b/t/db_dependent/Koha/ActionLogs.t >@@ -17,7 +17,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use C4::Context; > use C4::Log qw( logaction ); >diff --git a/t/db_dependent/Koha/AdditionalField.t b/t/db_dependent/Koha/AdditionalField.t >index 2c6955fca5d..23d1da36c70 100755 >--- a/t/db_dependent/Koha/AdditionalField.t >+++ b/t/db_dependent/Koha/AdditionalField.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use String::Random qw(random_string); > > use Koha::AuthorisedValueCategory; >diff --git a/t/db_dependent/Koha/ApiKey.t b/t/db_dependent/Koha/ApiKey.t >index 85ce8280b3e..6a34b43b4ba 100755 >--- a/t/db_dependent/Koha/ApiKey.t >+++ b/t/db_dependent/Koha/ApiKey.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::MockModule; > use Test::Exception; > >diff --git a/t/db_dependent/Koha/ArticleRequest.t b/t/db_dependent/Koha/ArticleRequest.t >index f2feb3b3b19..7cba0e80041 100755 >--- a/t/db_dependent/Koha/ArticleRequest.t >+++ b/t/db_dependent/Koha/ArticleRequest.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::MockModule; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/ArticleRequests.t b/t/db_dependent/Koha/ArticleRequests.t >index 2b02f24d173..1e1434d3e92 100755 >--- a/t/db_dependent/Koha/ArticleRequests.t >+++ b/t/db_dependent/Koha/ArticleRequests.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::MockModule; > > use Koha::ArticleRequest::Status; >diff --git a/t/db_dependent/Koha/Auth/Identity/Provider.t b/t/db_dependent/Koha/Auth/Identity/Provider.t >index df96a54ea22..c43c58dc95a 100755 >--- a/t/db_dependent/Koha/Auth/Identity/Provider.t >+++ b/t/db_dependent/Koha/Auth/Identity/Provider.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > > use Test::MockModule; > use Test::Exception; >diff --git a/t/db_dependent/Koha/Authorities.t b/t/db_dependent/Koha/Authorities.t >index e53ddf2d2ff..9e3adf612aa 100755 >--- a/t/db_dependent/Koha/Authorities.t >+++ b/t/db_dependent/Koha/Authorities.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 10; >+use Test::NoWarnings; >+use Test::More tests => 11; > use MARC::Field; > use MARC::File::XML; > use MARC::Record; >diff --git a/t/db_dependent/Koha/BackgroundJob/BatchCancelHold.t b/t/db_dependent/Koha/BackgroundJob/BatchCancelHold.t >index da9e4cae0b9..9149e4d425b 100755 >--- a/t/db_dependent/Koha/BackgroundJob/BatchCancelHold.t >+++ b/t/db_dependent/Koha/BackgroundJob/BatchCancelHold.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > use Koha::BackgroundJobs; >diff --git a/t/db_dependent/Koha/BackgroundJob/BatchDeleteAuthority.t b/t/db_dependent/Koha/BackgroundJob/BatchDeleteAuthority.t >index 87302cf815e..587c3f74f33 100755 >--- a/t/db_dependent/Koha/BackgroundJob/BatchDeleteAuthority.t >+++ b/t/db_dependent/Koha/BackgroundJob/BatchDeleteAuthority.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > use Koha::BackgroundJobs; >diff --git a/t/db_dependent/Koha/BackgroundJob/BatchDeleteBiblio.t b/t/db_dependent/Koha/BackgroundJob/BatchDeleteBiblio.t >index 30e26bfb702..e070e439f23 100755 >--- a/t/db_dependent/Koha/BackgroundJob/BatchDeleteBiblio.t >+++ b/t/db_dependent/Koha/BackgroundJob/BatchDeleteBiblio.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > use Koha::BackgroundJobs; >diff --git a/t/db_dependent/Koha/BackgroundJob/BatchDeleteItem.t b/t/db_dependent/Koha/BackgroundJob/BatchDeleteItem.t >index 1a45510bd53..f45be30b4c4 100755 >--- a/t/db_dependent/Koha/BackgroundJob/BatchDeleteItem.t >+++ b/t/db_dependent/Koha/BackgroundJob/BatchDeleteItem.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > use Koha::BackgroundJobs; >diff --git a/t/db_dependent/Koha/BackgroundJob/BatchUpdateAuthority.t b/t/db_dependent/Koha/BackgroundJob/BatchUpdateAuthority.t >index c4b045801c7..cbf32dd98b3 100755 >--- a/t/db_dependent/Koha/BackgroundJob/BatchUpdateAuthority.t >+++ b/t/db_dependent/Koha/BackgroundJob/BatchUpdateAuthority.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > use Koha::BackgroundJobs; >diff --git a/t/db_dependent/Koha/BackgroundJob/BatchUpdateBiblio.t b/t/db_dependent/Koha/BackgroundJob/BatchUpdateBiblio.t >index 9a21b3b2ed2..0e66b37c90a 100755 >--- a/t/db_dependent/Koha/BackgroundJob/BatchUpdateBiblio.t >+++ b/t/db_dependent/Koha/BackgroundJob/BatchUpdateBiblio.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > use Koha::BackgroundJobs; >diff --git a/t/db_dependent/Koha/BackgroundJob/BatchUpdateBiblioHoldsQueue.t b/t/db_dependent/Koha/BackgroundJob/BatchUpdateBiblioHoldsQueue.t >index fdb9587f378..1669e4fd328 100755 >--- a/t/db_dependent/Koha/BackgroundJob/BatchUpdateBiblioHoldsQueue.t >+++ b/t/db_dependent/Koha/BackgroundJob/BatchUpdateBiblioHoldsQueue.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Exception; > > use Koha::Database; >diff --git a/t/db_dependent/Koha/BackgroundJob/BatchUpdateItem.t b/t/db_dependent/Koha/BackgroundJob/BatchUpdateItem.t >index 83b38b05d7d..0f0c2bc67b0 100755 >--- a/t/db_dependent/Koha/BackgroundJob/BatchUpdateItem.t >+++ b/t/db_dependent/Koha/BackgroundJob/BatchUpdateItem.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > use Koha::BackgroundJobs; >diff --git a/t/db_dependent/Koha/BackgroundJob/CreateEHoldingsFromBiblios.t b/t/db_dependent/Koha/BackgroundJob/CreateEHoldingsFromBiblios.t >index a35f0863f53..0202f15d3a2 100755 >--- a/t/db_dependent/Koha/BackgroundJob/CreateEHoldingsFromBiblios.t >+++ b/t/db_dependent/Koha/BackgroundJob/CreateEHoldingsFromBiblios.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use Koha::Database; > use Koha::BackgroundJobs; >diff --git a/t/db_dependent/Koha/BackgroundJob/ErmSushiHarvester.t b/t/db_dependent/Koha/BackgroundJob/ErmSushiHarvester.t >index 9621f5a4887..0212293cb80 100755 >--- a/t/db_dependent/Koha/BackgroundJob/ErmSushiHarvester.t >+++ b/t/db_dependent/Koha/BackgroundJob/ErmSushiHarvester.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > > use Koha::Database; > use Koha::BackgroundJobs; >diff --git a/t/db_dependent/Koha/BackgroundJob/ImportKBARTFile.t b/t/db_dependent/Koha/BackgroundJob/ImportKBARTFile.t >index 8d3f9fa5b7a..c40f224825a 100755 >--- a/t/db_dependent/Koha/BackgroundJob/ImportKBARTFile.t >+++ b/t/db_dependent/Koha/BackgroundJob/ImportKBARTFile.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > use Test::MockModule; > use Test::Warn; > >diff --git a/t/db_dependent/Koha/BackgroundJob/MARCImportCommitBatch.t b/t/db_dependent/Koha/BackgroundJob/MARCImportCommitBatch.t >index cf4aab5b965..e9d89043050 100755 >--- a/t/db_dependent/Koha/BackgroundJob/MARCImportCommitBatch.t >+++ b/t/db_dependent/Koha/BackgroundJob/MARCImportCommitBatch.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > use Koha::BackgroundJobs; >diff --git a/t/db_dependent/Koha/BackgroundJob/MARCImportRevertBatch.t b/t/db_dependent/Koha/BackgroundJob/MARCImportRevertBatch.t >index 72002d9897d..148aab49fca 100755 >--- a/t/db_dependent/Koha/BackgroundJob/MARCImportRevertBatch.t >+++ b/t/db_dependent/Koha/BackgroundJob/MARCImportRevertBatch.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > use Koha::BackgroundJobs; >diff --git a/t/db_dependent/Koha/BackgroundJob/PseudonymizeStatistic.t b/t/db_dependent/Koha/BackgroundJob/PseudonymizeStatistic.t >index d7adccec0c4..a132484b534 100755 >--- a/t/db_dependent/Koha/BackgroundJob/PseudonymizeStatistic.t >+++ b/t/db_dependent/Koha/BackgroundJob/PseudonymizeStatistic.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Exception; > > use Koha::Database; >diff --git a/t/db_dependent/Koha/BackgroundJob/StageMARCForImport.t b/t/db_dependent/Koha/BackgroundJob/StageMARCForImport.t >index d8a1ca9c2dd..b8b59c7e611 100755 >--- a/t/db_dependent/Koha/BackgroundJob/StageMARCForImport.t >+++ b/t/db_dependent/Koha/BackgroundJob/StageMARCForImport.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > use Koha::BackgroundJobs; >diff --git a/t/db_dependent/Koha/BackgroundJob/UpdateElasticIndex.t b/t/db_dependent/Koha/BackgroundJob/UpdateElasticIndex.t >index 2ebd32230d9..11594cbd13f 100755 >--- a/t/db_dependent/Koha/BackgroundJob/UpdateElasticIndex.t >+++ b/t/db_dependent/Koha/BackgroundJob/UpdateElasticIndex.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > use Koha::BackgroundJobs; >diff --git a/t/db_dependent/Koha/BackgroundJobs.t b/t/db_dependent/Koha/BackgroundJobs.t >index 521a0a2f8d0..1ce4db0bd91 100755 >--- a/t/db_dependent/Koha/BackgroundJobs.t >+++ b/t/db_dependent/Koha/BackgroundJobs.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 14; >+use Test::NoWarnings; >+use Test::More tests => 15; > use Test::MockModule; > > use List::MoreUtils qw(any); >diff --git a/t/db_dependent/Koha/BackgroundJobs/BatchDeleteBiblio.t b/t/db_dependent/Koha/BackgroundJobs/BatchDeleteBiblio.t >index 02bf6453910..02b9a61654c 100755 >--- a/t/db_dependent/Koha/BackgroundJobs/BatchDeleteBiblio.t >+++ b/t/db_dependent/Koha/BackgroundJobs/BatchDeleteBiblio.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::MockModule; > > use JSON qw( encode_json ); >diff --git a/t/db_dependent/Koha/BackgroundJobs/BatchDeleteItem.t b/t/db_dependent/Koha/BackgroundJobs/BatchDeleteItem.t >index 6f02ac7a14f..9d8f5a3c2f5 100755 >--- a/t/db_dependent/Koha/BackgroundJobs/BatchDeleteItem.t >+++ b/t/db_dependent/Koha/BackgroundJobs/BatchDeleteItem.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::MockModule; > > use JSON qw( encode_json ); >diff --git a/t/db_dependent/Koha/BackgroundJobs/BatchUpdateBiblio.t b/t/db_dependent/Koha/BackgroundJobs/BatchUpdateBiblio.t >index 66a5c0cbec7..84f5745fb90 100755 >--- a/t/db_dependent/Koha/BackgroundJobs/BatchUpdateBiblio.t >+++ b/t/db_dependent/Koha/BackgroundJobs/BatchUpdateBiblio.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::MockModule; > > use Koha::Database; >diff --git a/t/db_dependent/Koha/BackgroundJobs/ErmSushiHarvester.t b/t/db_dependent/Koha/BackgroundJobs/ErmSushiHarvester.t >index f819e5d9957..e7f66b4e21e 100755 >--- a/t/db_dependent/Koha/BackgroundJobs/ErmSushiHarvester.t >+++ b/t/db_dependent/Koha/BackgroundJobs/ErmSushiHarvester.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use Koha::Database; > use Koha::BackgroundJobs; >diff --git a/t/db_dependent/Koha/BackgroundJobs/StageMARCForImport.t b/t/db_dependent/Koha/BackgroundJobs/StageMARCForImport.t >index 78342ab414c..d6a7be84485 100755 >--- a/t/db_dependent/Koha/BackgroundJobs/StageMARCForImport.t >+++ b/t/db_dependent/Koha/BackgroundJobs/StageMARCForImport.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::MockModule; > use JSON qw( encode_json decode_json ); > >diff --git a/t/db_dependent/Koha/Biblio.t b/t/db_dependent/Koha/Biblio.t >index 9d697b7850e..1cb96cc71df 100755 >--- a/t/db_dependent/Koha/Biblio.t >+++ b/t/db_dependent/Koha/Biblio.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 39; >+use Test::NoWarnings; >+use Test::More tests => 40; > use Test::Exception; > use Test::Warn; > >diff --git a/t/db_dependent/Koha/Biblio/ItemGroups.t b/t/db_dependent/Koha/Biblio/ItemGroups.t >index 13e2558baf7..163917bcbca 100755 >--- a/t/db_dependent/Koha/Biblio/ItemGroups.t >+++ b/t/db_dependent/Koha/Biblio/ItemGroups.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use Koha::Database; > >diff --git a/t/db_dependent/Koha/Biblio/Metadata.t b/t/db_dependent/Koha/Biblio/Metadata.t >index 0947b0c8460..c8cf3eba71e 100755 >--- a/t/db_dependent/Koha/Biblio/Metadata.t >+++ b/t/db_dependent/Koha/Biblio/Metadata.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Exception; > use Test::MockModule; > use Test::Warn; >diff --git a/t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC.t b/t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC.t >index 02907e08c5c..31c30076d2a 100755 >--- a/t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC.t >+++ b/t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Exception; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC/MARC21.t b/t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC/MARC21.t >index 80211f1271e..de5c62d7f9b 100755 >--- a/t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC/MARC21.t >+++ b/t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC/MARC21.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::Exception; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC/UNIMARC.t b/t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC/UNIMARC.t >index 99e1eb4538f..929fe5dd93d 100755 >--- a/t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC/UNIMARC.t >+++ b/t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC/UNIMARC.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Exception; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/Biblio/host_record.t b/t/db_dependent/Koha/Biblio/host_record.t >index 577f5514044..f3dddf4b80d 100755 >--- a/t/db_dependent/Koha/Biblio/host_record.t >+++ b/t/db_dependent/Koha/Biblio/host_record.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Data::Dumper qw/Dumper/; > use MARC::Field; > use MARC::Record; >diff --git a/t/db_dependent/Koha/BiblioFrameworks.t b/t/db_dependent/Koha/BiblioFrameworks.t >index e92e23db9bd..092f7e0de10 100755 >--- a/t/db_dependent/Koha/BiblioFrameworks.t >+++ b/t/db_dependent/Koha/BiblioFrameworks.t >@@ -18,7 +18,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Koha::BiblioFramework; > use Koha::BiblioFrameworks; > >diff --git a/t/db_dependent/Koha/Biblios.t b/t/db_dependent/Koha/Biblios.t >index eb9a12fffb6..83959de1736 100755 >--- a/t/db_dependent/Koha/Biblios.t >+++ b/t/db_dependent/Koha/Biblios.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > > use Test::Exception; > use Test::MockModule; >diff --git a/t/db_dependent/Koha/Bookings.t b/t/db_dependent/Koha/Bookings.t >index 40b3ce1bcbd..5b3e99d4241 100755 >--- a/t/db_dependent/Koha/Bookings.t >+++ b/t/db_dependent/Koha/Bookings.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Bookings; > use Koha::Database; >diff --git a/t/db_dependent/Koha/Cash/Register.t b/t/db_dependent/Koha/Cash/Register.t >index aeef2556c91..ee4f2fc0652 100755 >--- a/t/db_dependent/Koha/Cash/Register.t >+++ b/t/db_dependent/Koha/Cash/Register.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use Test::Exception; > >diff --git a/t/db_dependent/Koha/Cash/Register/Action.t b/t/db_dependent/Koha/Cash/Register/Action.t >index b348bed6f94..5fa9fdcc219 100755 >--- a/t/db_dependent/Koha/Cash/Register/Action.t >+++ b/t/db_dependent/Koha/Cash/Register/Action.t >@@ -18,7 +18,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use Koha::Database; > >diff --git a/t/db_dependent/Koha/Cash/Register/Cashup.t b/t/db_dependent/Koha/Cash/Register/Cashup.t >index 97a8151df76..29d30229970 100755 >--- a/t/db_dependent/Koha/Cash/Register/Cashup.t >+++ b/t/db_dependent/Koha/Cash/Register/Cashup.t >@@ -18,7 +18,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use Koha::Database; > >diff --git a/t/db_dependent/Koha/Cash/Register/Cashups.t b/t/db_dependent/Koha/Cash/Register/Cashups.t >index 6845930d3d6..1d085a77bd9 100755 >--- a/t/db_dependent/Koha/Cash/Register/Cashups.t >+++ b/t/db_dependent/Koha/Cash/Register/Cashups.t >@@ -18,7 +18,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > >diff --git a/t/db_dependent/Koha/Charges/Fees.t b/t/db_dependent/Koha/Charges/Fees.t >index acf429885ae..f9f065eac70 100755 >--- a/t/db_dependent/Koha/Charges/Fees.t >+++ b/t/db_dependent/Koha/Charges/Fees.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > use Test::Exception; > use Test::Warn; > >diff --git a/t/db_dependent/Koha/Charges/Sales.t b/t/db_dependent/Koha/Charges/Sales.t >index 105c43cb45f..a439bf33d36 100755 >--- a/t/db_dependent/Koha/Charges/Sales.t >+++ b/t/db_dependent/Koha/Charges/Sales.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Exception; > > use Koha::Database; >diff --git a/t/db_dependent/Koha/Checkout.t b/t/db_dependent/Koha/Checkout.t >index 4693863adfc..1efcf0026b0 100755 >--- a/t/db_dependent/Koha/Checkout.t >+++ b/t/db_dependent/Koha/Checkout.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use t::lib::TestBuilder; > > use Koha::Database; >diff --git a/t/db_dependent/Koha/Checkouts.t b/t/db_dependent/Koha/Checkouts.t >index 844880d777f..176cf82e702 100755 >--- a/t/db_dependent/Koha/Checkouts.t >+++ b/t/db_dependent/Koha/Checkouts.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 12; >+use Test::NoWarnings; >+use Test::More tests => 13; > use Test::MockModule; > use Test::Warn; > >diff --git a/t/db_dependent/Koha/Checkouts/Renewal.t b/t/db_dependent/Koha/Checkouts/Renewal.t >index c28833ff795..f506d547799 100755 >--- a/t/db_dependent/Koha/Checkouts/Renewal.t >+++ b/t/db_dependent/Koha/Checkouts/Renewal.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::Exception; > > use Koha::Database; >diff --git a/t/db_dependent/Koha/Checkouts/ReturnClaim.t b/t/db_dependent/Koha/Checkouts/ReturnClaim.t >index 62571c3588e..11dfd7cb6b3 100755 >--- a/t/db_dependent/Koha/Checkouts/ReturnClaim.t >+++ b/t/db_dependent/Koha/Checkouts/ReturnClaim.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use Test::Exception; > > use Koha::Database; >diff --git a/t/db_dependent/Koha/CirculationRules.t b/t/db_dependent/Koha/CirculationRules.t >index dbac7133e35..b19d4d5d46b 100755 >--- a/t/db_dependent/Koha/CirculationRules.t >+++ b/t/db_dependent/Koha/CirculationRules.t >@@ -20,7 +20,8 @@ > use Modern::Perl; > > use Benchmark; >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > use Test::Deep qw( cmp_methods ); > use Test::Exception; > >diff --git a/t/db_dependent/Koha/CirculationRules/guess_article_requestable_itemtypes.t b/t/db_dependent/Koha/CirculationRules/guess_article_requestable_itemtypes.t >index a1a02950999..a3945abf65a 100755 >--- a/t/db_dependent/Koha/CirculationRules/guess_article_requestable_itemtypes.t >+++ b/t/db_dependent/Koha/CirculationRules/guess_article_requestable_itemtypes.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use t::lib::Mocks; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/Cities.t b/t/db_dependent/Koha/Cities.t >index 388d086c97b..30d396e4562 100755 >--- a/t/db_dependent/Koha/Cities.t >+++ b/t/db_dependent/Koha/Cities.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use Koha::City; > use Koha::Cities; >diff --git a/t/db_dependent/Koha/ClassSortRules.t b/t/db_dependent/Koha/ClassSortRules.t >index 96bc5bfd3db..4d283bb9957 100755 >--- a/t/db_dependent/Koha/ClassSortRules.t >+++ b/t/db_dependent/Koha/ClassSortRules.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use Koha::Database; > >diff --git a/t/db_dependent/Koha/ClassSources.t b/t/db_dependent/Koha/ClassSources.t >index 213bf334f59..81147431d20 100755 >--- a/t/db_dependent/Koha/ClassSources.t >+++ b/t/db_dependent/Koha/ClassSources.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use Koha::Database; > >diff --git a/t/db_dependent/Koha/ClassSplitRules.t b/t/db_dependent/Koha/ClassSplitRules.t >index a5e7b329c7a..034ec8da6e9 100755 >--- a/t/db_dependent/Koha/ClassSplitRules.t >+++ b/t/db_dependent/Koha/ClassSplitRules.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > use Koha::ClassSplitRules; >diff --git a/t/db_dependent/Koha/Club/Enrollment.t b/t/db_dependent/Koha/Club/Enrollment.t >index d7d85b13d0f..92bd561c60f 100755 >--- a/t/db_dependent/Koha/Club/Enrollment.t >+++ b/t/db_dependent/Koha/Club/Enrollment.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Exception; > > use Koha::Patron; >diff --git a/t/db_dependent/Koha/Club/Hold.t b/t/db_dependent/Koha/Club/Hold.t >index fb2f4a7030c..801aa99775e 100755 >--- a/t/db_dependent/Koha/Club/Hold.t >+++ b/t/db_dependent/Koha/Club/Hold.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Exception; > use Try::Tiny; > >diff --git a/t/db_dependent/Koha/Config/SysPrefs.t b/t/db_dependent/Koha/Config/SysPrefs.t >index c005989bb75..b2377edd21b 100755 >--- a/t/db_dependent/Koha/Config/SysPrefs.t >+++ b/t/db_dependent/Koha/Config/SysPrefs.t >@@ -18,7 +18,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use t::lib::Mocks; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/Course.t b/t/db_dependent/Koha/Course.t >index af23e03d549..6d30a7b005b 100755 >--- a/t/db_dependent/Koha/Course.t >+++ b/t/db_dependent/Koha/Course.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Course; > use Koha::Courses; >diff --git a/t/db_dependent/Koha/Courses.t b/t/db_dependent/Koha/Courses.t >index 31c17b75b7b..ee9faaad21a 100755 >--- a/t/db_dependent/Koha/Courses.t >+++ b/t/db_dependent/Koha/Courses.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Koha/CsvProfiles.t b/t/db_dependent/Koha/CsvProfiles.t >index e7c71c48d05..b62eb911e45 100755 >--- a/t/db_dependent/Koha/CsvProfiles.t >+++ b/t/db_dependent/Koha/CsvProfiles.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use Koha::CsvProfile; > use Koha::CsvProfiles; >diff --git a/t/db_dependent/Koha/CurbsidePickups.t b/t/db_dependent/Koha/CurbsidePickups.t >index 2717520c046..9f09dec8376 100755 >--- a/t/db_dependent/Koha/CurbsidePickups.t >+++ b/t/db_dependent/Koha/CurbsidePickups.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::Exception; > > use C4::Calendar; >diff --git a/t/db_dependent/Koha/Database.t b/t/db_dependent/Koha/Database.t >index aca225f4117..30f69d8b0b4 100755 >--- a/t/db_dependent/Koha/Database.t >+++ b/t/db_dependent/Koha/Database.t >@@ -16,7 +16,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use C4::Context; > use t::lib::Mocks; > >diff --git a/t/db_dependent/Koha/Database/Commenter.t b/t/db_dependent/Koha/Database/Commenter.t >index de9161e2e1e..c5085ae4cee 100755 >--- a/t/db_dependent/Koha/Database/Commenter.t >+++ b/t/db_dependent/Koha/Database/Commenter.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > use File::Temp qw(); >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Exception; > > use C4::Context; >diff --git a/t/db_dependent/Koha/Desks.t b/t/db_dependent/Koha/Desks.t >index cf673517ead..c12ae084bf6 100755 >--- a/t/db_dependent/Koha/Desks.t >+++ b/t/db_dependent/Koha/Desks.t >@@ -20,7 +20,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use Koha::Desk; > use Koha::Desks; >diff --git a/t/db_dependent/Koha/ERM/Agreements.t b/t/db_dependent/Koha/ERM/Agreements.t >index a4a4fdddd9b..10f8940aa61 100755 >--- a/t/db_dependent/Koha/ERM/Agreements.t >+++ b/t/db_dependent/Koha/ERM/Agreements.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use Koha::ERM::Agreements; > use Koha::Database; >diff --git a/t/db_dependent/Koha/ERM/EUsage/CounterFile.t b/t/db_dependent/Koha/ERM/EUsage/CounterFile.t >index 7d36fe82e6f..f4ab82f16bd 100755 >--- a/t/db_dependent/Koha/ERM/EUsage/CounterFile.t >+++ b/t/db_dependent/Koha/ERM/EUsage/CounterFile.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use Koha::Database; > use Koha::ERM::EUsage::CounterFile; >diff --git a/t/db_dependent/Koha/ERM/EUsage/CounterLog.t b/t/db_dependent/Koha/ERM/EUsage/CounterLog.t >index 86fef487bc2..5226e93f99c 100755 >--- a/t/db_dependent/Koha/ERM/EUsage/CounterLog.t >+++ b/t/db_dependent/Koha/ERM/EUsage/CounterLog.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > use Koha::ERM::EUsage::CounterLog; >diff --git a/t/db_dependent/Koha/ERM/EUsage/SushiCounter.t b/t/db_dependent/Koha/ERM/EUsage/SushiCounter.t >index e47568f606a..641dd5f4f10 100755 >--- a/t/db_dependent/Koha/ERM/EUsage/SushiCounter.t >+++ b/t/db_dependent/Koha/ERM/EUsage/SushiCounter.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 18; >+use Test::NoWarnings; >+use Test::More tests => 19; > > use Koha::ERM::EUsage::SushiCounter; > use Koha::Database; >diff --git a/t/db_dependent/Koha/ERM/EUsage/UsageDataProvider.t b/t/db_dependent/Koha/ERM/EUsage/UsageDataProvider.t >index 874141f081d..7bee25b881e 100755 >--- a/t/db_dependent/Koha/ERM/EUsage/UsageDataProvider.t >+++ b/t/db_dependent/Koha/ERM/EUsage/UsageDataProvider.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use Koha::ERM::EUsage::UsageDataProvider; > use Koha::Database; >diff --git a/t/db_dependent/Koha/Edifact/File.t b/t/db_dependent/Koha/Edifact/File.t >index 0792994d129..21ef32499a3 100755 >--- a/t/db_dependent/Koha/Edifact/File.t >+++ b/t/db_dependent/Koha/Edifact/File.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use Koha::Edifact::Files; > >diff --git a/t/db_dependent/Koha/Edifact/Order.t b/t/db_dependent/Koha/Edifact/Order.t >index 23c990ad0bc..3a565a93bff 100755 >--- a/t/db_dependent/Koha/Edifact/Order.t >+++ b/t/db_dependent/Koha/Edifact/Order.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use Koha::Edifact::Order; > >diff --git a/t/db_dependent/Koha/Edifact/Transport.t b/t/db_dependent/Koha/Edifact/Transport.t >index 83f05afa68b..3e4efbb45ac 100755 >--- a/t/db_dependent/Koha/Edifact/Transport.t >+++ b/t/db_dependent/Koha/Edifact/Transport.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > use FindBin qw( $Bin ); >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use Test::Warn; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/Filter/EmbedItems.t b/t/db_dependent/Koha/Filter/EmbedItems.t >index 179a4370492..42d0c007b07 100755 >--- a/t/db_dependent/Koha/Filter/EmbedItems.t >+++ b/t/db_dependent/Koha/Filter/EmbedItems.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Koha/Filter/EmbedItemsAvailability.t b/t/db_dependent/Koha/Filter/EmbedItemsAvailability.t >index c66e4e400fb..329ab74cc34 100755 >--- a/t/db_dependent/Koha/Filter/EmbedItemsAvailability.t >+++ b/t/db_dependent/Koha/Filter/EmbedItemsAvailability.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::MockModule; > > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha/Filter/ExpandCodedFields.t b/t/db_dependent/Koha/Filter/ExpandCodedFields.t >index b0a623dfc2f..3a5ec895b84 100755 >--- a/t/db_dependent/Koha/Filter/ExpandCodedFields.t >+++ b/t/db_dependent/Koha/Filter/ExpandCodedFields.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Koha/Hold.t b/t/db_dependent/Koha/Hold.t >index 527b6988f78..4b84be57447 100755 >--- a/t/db_dependent/Koha/Hold.t >+++ b/t/db_dependent/Koha/Hold.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 14; >+use Test::NoWarnings; >+use Test::More tests => 15; > > use Test::Exception; > use Test::MockModule; >diff --git a/t/db_dependent/Koha/Holds.t b/t/db_dependent/Koha/Holds.t >index 2f560980d96..a27dd02ed8a 100755 >--- a/t/db_dependent/Koha/Holds.t >+++ b/t/db_dependent/Koha/Holds.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 12; >+use Test::NoWarnings; >+use Test::More tests => 13; > use Test::Warn; > > use C4::Circulation qw( AddIssue ); >diff --git a/t/db_dependent/Koha/ILL/Backend.t b/t/db_dependent/Koha/ILL/Backend.t >index b552eee2970..c374fd28c06 100755 >--- a/t/db_dependent/Koha/ILL/Backend.t >+++ b/t/db_dependent/Koha/ILL/Backend.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::ILL::Backend; > >diff --git a/t/db_dependent/Koha/ILL/Batch.t b/t/db_dependent/Koha/ILL/Batch.t >index eaa6df4232f..4f202f51dc1 100755 >--- a/t/db_dependent/Koha/ILL/Batch.t >+++ b/t/db_dependent/Koha/ILL/Batch.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > >diff --git a/t/db_dependent/Koha/ILL/Batch/Statuses.t b/t/db_dependent/Koha/ILL/Batch/Statuses.t >index 80052ee40ae..2addcc1c304 100755 >--- a/t/db_dependent/Koha/ILL/Batch/Statuses.t >+++ b/t/db_dependent/Koha/ILL/Batch/Statuses.t >@@ -28,7 +28,8 @@ use t::lib::TestBuilder; > use Test::MockObject; > use Test::MockModule; > >-use Test::More tests => 13; >+use Test::NoWarnings; >+use Test::More tests => 14; > > my $schema = Koha::Database->new->schema; > my $builder = t::lib::TestBuilder->new; >diff --git a/t/db_dependent/Koha/ILL/Batches.t b/t/db_dependent/Koha/ILL/Batches.t >index 8580f75dae7..2988ae218a9 100755 >--- a/t/db_dependent/Koha/ILL/Batches.t >+++ b/t/db_dependent/Koha/ILL/Batches.t >@@ -27,7 +27,8 @@ use t::lib::TestBuilder; > use Test::MockObject; > use Test::MockModule; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > > my $schema = Koha::Database->new->schema; > my $builder = t::lib::TestBuilder->new; >diff --git a/t/db_dependent/Koha/ILL/Comments.t b/t/db_dependent/Koha/ILL/Comments.t >index 2c57ba8646b..359a7be0f63 100755 >--- a/t/db_dependent/Koha/ILL/Comments.t >+++ b/t/db_dependent/Koha/ILL/Comments.t >@@ -28,7 +28,8 @@ use t::lib::TestBuilder; > use Test::MockObject; > use Test::MockModule; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > > my $schema = Koha::Database->new->schema; > my $builder = t::lib::TestBuilder->new; >diff --git a/t/db_dependent/Koha/ILL/Request.t b/t/db_dependent/Koha/ILL/Request.t >index 996a144c088..bc0b2fb9647 100755 >--- a/t/db_dependent/Koha/ILL/Request.t >+++ b/t/db_dependent/Koha/ILL/Request.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::MockModule; > > use Koha::ILL::Requests; >diff --git a/t/db_dependent/Koha/ILL/Request/Attributes.t b/t/db_dependent/Koha/ILL/Request/Attributes.t >index afcab4d4262..d3262c16765 100755 >--- a/t/db_dependent/Koha/ILL/Request/Attributes.t >+++ b/t/db_dependent/Koha/ILL/Request/Attributes.t >@@ -22,7 +22,8 @@ use Koha::Database; > use Koha::Patrons; > use t::lib::TestBuilder; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > my $schema = Koha::Database->new->schema; > use_ok('Koha::ILL::Request::Attribute'); >diff --git a/t/db_dependent/Koha/ILL/Request/Config.t b/t/db_dependent/Koha/ILL/Request/Config.t >index f7fa7616e57..8bafed32c1f 100755 >--- a/t/db_dependent/Koha/ILL/Request/Config.t >+++ b/t/db_dependent/Koha/ILL/Request/Config.t >@@ -23,7 +23,8 @@ use t::lib::TestBuilder; > use Test::MockObject; > use Test::Exception; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > > my $schema = Koha::Database->new->schema; > my $builder = t::lib::TestBuilder->new; >diff --git a/t/db_dependent/Koha/ILL/Request/Logger.t b/t/db_dependent/Koha/ILL/Request/Logger.t >index ad2df153faf..2bcebfa2b05 100755 >--- a/t/db_dependent/Koha/ILL/Request/Logger.t >+++ b/t/db_dependent/Koha/ILL/Request/Logger.t >@@ -20,7 +20,8 @@ use Modern::Perl; > > use Koha::Database; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::MockModule; > use Test::MockObject; > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha/ILL/Request/SupplierUpdate.t b/t/db_dependent/Koha/ILL/Request/SupplierUpdate.t >index b90dc8abb6e..cba5d0dce05 100755 >--- a/t/db_dependent/Koha/ILL/Request/SupplierUpdate.t >+++ b/t/db_dependent/Koha/ILL/Request/SupplierUpdate.t >@@ -22,7 +22,8 @@ use Test::MockObject; > use Koha::ILL::Request; > use Koha::ILL::Request::SupplierUpdate; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use_ok('Koha::ILL::Request::SupplierUpdate'); > >diff --git a/t/db_dependent/Koha/ILL/Request/SupplierUpdateProcessor.t b/t/db_dependent/Koha/ILL/Request/SupplierUpdateProcessor.t >index 7ea29f277e4..bf64f077b8c 100755 >--- a/t/db_dependent/Koha/ILL/Request/SupplierUpdateProcessor.t >+++ b/t/db_dependent/Koha/ILL/Request/SupplierUpdateProcessor.t >@@ -19,7 +19,8 @@ use Modern::Perl; > > use Koha::ILL::Request::SupplierUpdateProcessor; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::Warn; > > my $processor = Koha::ILL::Request::SupplierUpdateProcessor->new( >diff --git a/t/db_dependent/Koha/ILL/Request/Workflow/Availability.t b/t/db_dependent/Koha/ILL/Request/Workflow/Availability.t >index 24312257bfd..4ed20863290 100755 >--- a/t/db_dependent/Koha/ILL/Request/Workflow/Availability.t >+++ b/t/db_dependent/Koha/ILL/Request/Workflow/Availability.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > > use Test::MockModule; > use Test::MockObject; >diff --git a/t/db_dependent/Koha/ILL/Request/Workflow/TypeDisclaimer.t b/t/db_dependent/Koha/ILL/Request/Workflow/TypeDisclaimer.t >index f69d34b5a40..8edec4fb669 100755 >--- a/t/db_dependent/Koha/ILL/Request/Workflow/TypeDisclaimer.t >+++ b/t/db_dependent/Koha/ILL/Request/Workflow/TypeDisclaimer.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > > use Test::MockModule; > use Test::MockObject; >diff --git a/t/db_dependent/Koha/ILL/Requests.t b/t/db_dependent/Koha/ILL/Requests.t >index c5ba6262cbc..1b8a4df438e 100755 >--- a/t/db_dependent/Koha/ILL/Requests.t >+++ b/t/db_dependent/Koha/ILL/Requests.t >@@ -41,7 +41,8 @@ use Test::Exception; > use Test::Deep qw/ cmp_deeply ignore /; > use Test::Warn; > >-use Test::More tests => 16; >+use Test::NoWarnings; >+use Test::More tests => 17; > > my $schema = Koha::Database->new->schema; > my $builder = t::lib::TestBuilder->new; >diff --git a/t/db_dependent/Koha/Import/Record/Auths.t b/t/db_dependent/Koha/Import/Record/Auths.t >index cc0c471d5b2..e09c547a7e7 100755 >--- a/t/db_dependent/Koha/Import/Record/Auths.t >+++ b/t/db_dependent/Koha/Import/Record/Auths.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use Koha::Import::Record::Auths; > use Koha::Database; >diff --git a/t/db_dependent/Koha/Import/Record/Biblios.t b/t/db_dependent/Koha/Import/Record/Biblios.t >index 2c1106f926c..2e013946f76 100755 >--- a/t/db_dependent/Koha/Import/Record/Biblios.t >+++ b/t/db_dependent/Koha/Import/Record/Biblios.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use Koha::Import::Record::Biblios; > use Koha::Database; >diff --git a/t/db_dependent/Koha/Import/Record/Items.t b/t/db_dependent/Koha/Import/Record/Items.t >index 072b74b089d..49593386f54 100755 >--- a/t/db_dependent/Koha/Import/Record/Items.t >+++ b/t/db_dependent/Koha/Import/Record/Items.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use Koha::Import::Record::Items; > use Koha::Database; >diff --git a/t/db_dependent/Koha/Import/Record/Matches.t b/t/db_dependent/Koha/Import/Record/Matches.t >index 3f28b0fcb51..d0638e247dc 100755 >--- a/t/db_dependent/Koha/Import/Record/Matches.t >+++ b/t/db_dependent/Koha/Import/Record/Matches.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > > use Koha::Import::Record::Matches; > use Koha::Database; >diff --git a/t/db_dependent/Koha/Import/Records.t b/t/db_dependent/Koha/Import/Records.t >index 1de386528b0..f822d52df90 100755 >--- a/t/db_dependent/Koha/Import/Records.t >+++ b/t/db_dependent/Koha/Import/Records.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 11; >+use Test::NoWarnings; >+use Test::More tests => 12; > > use Koha::Import::Records; > use Koha::Database; >diff --git a/t/db_dependent/Koha/Item.t b/t/db_dependent/Koha/Item.t >index bd3f43b5dc9..06fe7af209b 100755 >--- a/t/db_dependent/Koha/Item.t >+++ b/t/db_dependent/Koha/Item.t >@@ -20,7 +20,8 @@ > use Modern::Perl; > use utf8; > >-use Test::More tests => 38; >+use Test::NoWarnings; >+use Test::More tests => 39; > use Test::Exception; > use Test::MockModule; > use Test::Warn; >diff --git a/t/db_dependent/Koha/Item/Attributes.t b/t/db_dependent/Koha/Item/Attributes.t >index c41c746363b..259ac5581ac 100755 >--- a/t/db_dependent/Koha/Item/Attributes.t >+++ b/t/db_dependent/Koha/Item/Attributes.t >@@ -16,6 +16,7 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >+use Test::NoWarnings; > use Test::More tests => 10; > use utf8; > >diff --git a/t/db_dependent/Koha/Item/Search/Field.t b/t/db_dependent/Koha/Item/Search/Field.t >index e98d232dd97..6915a32e8c9 100755 >--- a/t/db_dependent/Koha/Item/Search/Field.t >+++ b/t/db_dependent/Koha/Item/Search/Field.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 11; >+use Test::NoWarnings; >+use Test::More tests => 12; > > use C4::Context; > use Koha::Database; >diff --git a/t/db_dependent/Koha/Item/Template.t b/t/db_dependent/Koha/Item/Template.t >index 31f0a4384f7..abecaf17e4d 100755 >--- a/t/db_dependent/Koha/Item/Template.t >+++ b/t/db_dependent/Koha/Item/Template.t >@@ -26,7 +26,8 @@ use Koha::Database; > > use t::lib::TestBuilder; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > my $schema = Koha::Database->new->schema; > my $builder = t::lib::TestBuilder->new; >diff --git a/t/db_dependent/Koha/Item/Templates.t b/t/db_dependent/Koha/Item/Templates.t >index acbd18bcf29..d1628238ae0 100755 >--- a/t/db_dependent/Koha/Item/Templates.t >+++ b/t/db_dependent/Koha/Item/Templates.t >@@ -24,7 +24,8 @@ use Koha::Database; > > use t::lib::TestBuilder; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > my $schema = Koha::Database->new->schema; > my $builder = t::lib::TestBuilder->new; >diff --git a/t/db_dependent/Koha/Item/Transfer.t b/t/db_dependent/Koha/Item/Transfer.t >index 79af2f161d8..92158644e2a 100755 >--- a/t/db_dependent/Koha/Item/Transfer.t >+++ b/t/db_dependent/Koha/Item/Transfer.t >@@ -24,7 +24,8 @@ use Koha::DateUtils qw( dt_from_string ); > > use t::lib::TestBuilder; > >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > use Test::Exception; > > my $schema = Koha::Database->new->schema; >diff --git a/t/db_dependent/Koha/Item/Transfers.t b/t/db_dependent/Koha/Item/Transfers.t >index b182c708482..d414a72b372 100755 >--- a/t/db_dependent/Koha/Item/Transfers.t >+++ b/t/db_dependent/Koha/Item/Transfers.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use Koha::Item::Transfer; > use Koha::Item::Transfers; >diff --git a/t/db_dependent/Koha/ItemTypes.t b/t/db_dependent/Koha/ItemTypes.t >index acc6eef007c..352aac85351 100755 >--- a/t/db_dependent/Koha/ItemTypes.t >+++ b/t/db_dependent/Koha/ItemTypes.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 15; >+use Test::NoWarnings; >+use Test::More tests => 16; > > use t::lib::Mocks; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/Items.t b/t/db_dependent/Koha/Items.t >index 31ee1af4607..30d92201f24 100755 >--- a/t/db_dependent/Koha/Items.t >+++ b/t/db_dependent/Koha/Items.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 20; >+use Test::NoWarnings; >+use Test::More tests => 21; > > use Test::MockModule; > use Test::Exception; >diff --git a/t/db_dependent/Koha/Items/BatchUpdate.t b/t/db_dependent/Koha/Items/BatchUpdate.t >index eaba531711b..bf527690cf4 100755 >--- a/t/db_dependent/Koha/Items/BatchUpdate.t >+++ b/t/db_dependent/Koha/Items/BatchUpdate.t >@@ -16,6 +16,7 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >+use Test::NoWarnings; > use Test::More tests => 8; > use Test::Warn; > use utf8; >diff --git a/t/db_dependent/Koha/KeyboardShortcuts.t b/t/db_dependent/Koha/KeyboardShortcuts.t >index 32e15fda1a1..ce8988382ef 100755 >--- a/t/db_dependent/Koha/KeyboardShortcuts.t >+++ b/t/db_dependent/Koha/KeyboardShortcuts.t >@@ -18,7 +18,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use Koha::Database; > >diff --git a/t/db_dependent/Koha/Libraries.t b/t/db_dependent/Koha/Libraries.t >index 4212ff4febc..ae66d333efa 100755 >--- a/t/db_dependent/Koha/Libraries.t >+++ b/t/db_dependent/Koha/Libraries.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 13; >+use Test::NoWarnings; >+use Test::More tests => 14; > > use C4::Biblio; > use C4::Context; >diff --git a/t/db_dependent/Koha/Library.t b/t/db_dependent/Koha/Library.t >index c35b1e88e77..c1f56998b52 100755 >--- a/t/db_dependent/Koha/Library.t >+++ b/t/db_dependent/Koha/Library.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use Koha::Database; > use Koha::AdditionalContents; >diff --git a/t/db_dependent/Koha/Library/OverDriveInfos.t b/t/db_dependent/Koha/Library/OverDriveInfos.t >index bc67224844e..338b8829a9a 100755 >--- a/t/db_dependent/Koha/Library/OverDriveInfos.t >+++ b/t/db_dependent/Koha/Library/OverDriveInfos.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use Koha::Library::OverDriveInfos; > use Koha::Database; >diff --git a/t/db_dependent/Koha/MarcSubfieldStructures.t b/t/db_dependent/Koha/MarcSubfieldStructures.t >index 4c05ea653e0..88dddbca0f5 100755 >--- a/t/db_dependent/Koha/MarcSubfieldStructures.t >+++ b/t/db_dependent/Koha/MarcSubfieldStructures.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::MarcSubfieldStructures; > use Koha::Database; >diff --git a/t/db_dependent/Koha/Notice/Message.t b/t/db_dependent/Koha/Notice/Message.t >index d5ebe527882..1bd204d01f7 100755 >--- a/t/db_dependent/Koha/Notice/Message.t >+++ b/t/db_dependent/Koha/Notice/Message.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use C4::Letters qw( GetPreparedLetter EnqueueLetter ); > >diff --git a/t/db_dependent/Koha/Notice/Template.t b/t/db_dependent/Koha/Notice/Template.t >index 32c11e5c62f..fda83208c17 100755 >--- a/t/db_dependent/Koha/Notice/Template.t >+++ b/t/db_dependent/Koha/Notice/Template.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use_ok('Koha::Notice::Template'); > >diff --git a/t/db_dependent/Koha/Notice_Util.t b/t/db_dependent/Koha/Notice_Util.t >index 233e1a83246..f2ca2a3b6ab 100755 >--- a/t/db_dependent/Koha/Notice_Util.t >+++ b/t/db_dependent/Koha/Notice_Util.t >@@ -20,7 +20,8 @@ > use Modern::Perl; > > #use Data::Dumper qw/Dumper/; >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::MockModule; > use Test::Warn; > >diff --git a/t/db_dependent/Koha/Notices.t b/t/db_dependent/Koha/Notices.t >index c63516a0e51..b58f58cbc05 100755 >--- a/t/db_dependent/Koha/Notices.t >+++ b/t/db_dependent/Koha/Notices.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 9; >+use Test::NoWarnings; >+use Test::More tests => 10; > > use Koha::Notice::Templates; > use Koha::Database; >diff --git a/t/db_dependent/Koha/OAIHarvester.t b/t/db_dependent/Koha/OAIHarvester.t >index 7aa0886bca9..ab835c95369 100755 >--- a/t/db_dependent/Koha/OAIHarvester.t >+++ b/t/db_dependent/Koha/OAIHarvester.t >@@ -18,7 +18,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 28; >+use Test::NoWarnings; >+use Test::More tests => 29; > use Test::Exception; > use File::Temp qw/tempfile/; > use Scalar::Util qw//; >diff --git a/t/db_dependent/Koha/OAIServers.t b/t/db_dependent/Koha/OAIServers.t >index 22d9cab649f..8c189e76d2a 100755 >--- a/t/db_dependent/Koha/OAIServers.t >+++ b/t/db_dependent/Koha/OAIServers.t >@@ -18,7 +18,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Exception; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/Object.t b/t/db_dependent/Koha/Object.t >index 606182d2410..66cdc28112b 100755 >--- a/t/db_dependent/Koha/Object.t >+++ b/t/db_dependent/Koha/Object.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 23; >+use Test::NoWarnings; >+use Test::More tests => 24; > use Test::Exception; > use Test::Warn; > >diff --git a/t/db_dependent/Koha/Object/Mixin/AdditionalFields.t b/t/db_dependent/Koha/Object/Mixin/AdditionalFields.t >index 4dc716e8f84..3e022b129f3 100755 >--- a/t/db_dependent/Koha/Object/Mixin/AdditionalFields.t >+++ b/t/db_dependent/Koha/Object/Mixin/AdditionalFields.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use t::lib::TestBuilder; > use String::Random qw(random_string); > use Koha::Database; >diff --git a/t/db_dependent/Koha/Objects.t b/t/db_dependent/Koha/Objects.t >index 4d07a4cfb0e..51ee06c7d9d 100755 >--- a/t/db_dependent/Koha/Objects.t >+++ b/t/db_dependent/Koha/Objects.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 23; >+use Test::NoWarnings; >+use Test::More tests => 24; > use Test::Exception; > use Test::MockModule; > use Test::Warn; >diff --git a/t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t b/t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t >index 37e90b1e557..b02c733a8fb 100755 >--- a/t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t >+++ b/t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 12; >+use Test::NoWarnings; >+use Test::More tests => 13; > > use Koha::Acquisition::Baskets; # Koha::Acquisition::Baskets uses the mixin > use Koha::AdditionalFields; >diff --git a/t/db_dependent/Koha/Objects/Mixin/ExtendedAttributes.t b/t/db_dependent/Koha/Objects/Mixin/ExtendedAttributes.t >index 29a09e79917..bd2f260521d 100755 >--- a/t/db_dependent/Koha/Objects/Mixin/ExtendedAttributes.t >+++ b/t/db_dependent/Koha/Objects/Mixin/ExtendedAttributes.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use C4::Context; > > use Koha::Database; >diff --git a/t/db_dependent/Koha/Objects/Record/Collections.t b/t/db_dependent/Koha/Objects/Record/Collections.t >index a6c26c261f4..281ea663663 100755 >--- a/t/db_dependent/Koha/Objects/Record/Collections.t >+++ b/t/db_dependent/Koha/Objects/Record/Collections.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Biblios; > use Koha::Database; >diff --git a/t/db_dependent/Koha/Old.t b/t/db_dependent/Koha/Old.t >index d630d21c5ac..f6a77b81f5c 100755 >--- a/t/db_dependent/Koha/Old.t >+++ b/t/db_dependent/Koha/Old.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use Koha::Database; > use Koha::Old::Patrons; >diff --git a/t/db_dependent/Koha/Old/Checkout.t b/t/db_dependent/Koha/Old/Checkout.t >index 840afe052f9..eaf9e621bf2 100755 >--- a/t/db_dependent/Koha/Old/Checkout.t >+++ b/t/db_dependent/Koha/Old/Checkout.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Exception; > > use Koha::Database; >diff --git a/t/db_dependent/Koha/Old/Checkouts.t b/t/db_dependent/Koha/Old/Checkouts.t >index 73c33688358..41fc54d5424 100755 >--- a/t/db_dependent/Koha/Old/Checkouts.t >+++ b/t/db_dependent/Koha/Old/Checkouts.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Exception; > > use Koha::Database; >diff --git a/t/db_dependent/Koha/Old/Holds.t b/t/db_dependent/Koha/Old/Holds.t >index 401bdb280b8..4e37be49aca 100755 >--- a/t/db_dependent/Koha/Old/Holds.t >+++ b/t/db_dependent/Koha/Old/Holds.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Exception; > > use Koha::Database; >diff --git a/t/db_dependent/Koha/Patron/Attribute.t b/t/db_dependent/Koha/Patron/Attribute.t >index e233a39050a..c6d071d0419 100755 >--- a/t/db_dependent/Koha/Patron/Attribute.t >+++ b/t/db_dependent/Koha/Patron/Attribute.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use t::lib::TestBuilder; > use Test::Exception; >diff --git a/t/db_dependent/Koha/Patron/Attribute/Types.t b/t/db_dependent/Koha/Patron/Attribute/Types.t >index 222251a6dee..6dc706fb22d 100755 >--- a/t/db_dependent/Koha/Patron/Attribute/Types.t >+++ b/t/db_dependent/Koha/Patron/Attribute/Types.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > > use t::lib::TestBuilder; > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha/Patron/Categories.t b/t/db_dependent/Koha/Patron/Categories.t >index 24ba91545b5..1cc9866936d 100755 >--- a/t/db_dependent/Koha/Patron/Categories.t >+++ b/t/db_dependent/Koha/Patron/Categories.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 10; >+use Test::NoWarnings; >+use Test::More tests => 11; > > use C4::Context; > use Koha::Database; >diff --git a/t/db_dependent/Koha/Patron/Category.t b/t/db_dependent/Koha/Patron/Category.t >index 27c5725e5a3..14504efccfa 100755 >--- a/t/db_dependent/Koha/Patron/Category.t >+++ b/t/db_dependent/Koha/Patron/Category.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > > use t::lib::TestBuilder; > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha/Patron/Consents.t b/t/db_dependent/Koha/Patron/Consents.t >index aafd88db38b..08dba75f550 100755 >--- a/t/db_dependent/Koha/Patron/Consents.t >+++ b/t/db_dependent/Koha/Patron/Consents.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > use Data::Dumper qw/Dumper/; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::MockModule; > use Test::MockObject; > >diff --git a/t/db_dependent/Koha/Patron/Images.t b/t/db_dependent/Koha/Patron/Images.t >index 9c8c26264b7..0961c2cd1a9 100755 >--- a/t/db_dependent/Koha/Patron/Images.t >+++ b/t/db_dependent/Koha/Patron/Images.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use Koha::Database; > use Koha::Patrons; >diff --git a/t/db_dependent/Koha/Patron/MessagePreference/Attributes.t b/t/db_dependent/Koha/Patron/MessagePreference/Attributes.t >index e25a9b5faa5..b17f6a1247d 100755 >--- a/t/db_dependent/Koha/Patron/MessagePreference/Attributes.t >+++ b/t/db_dependent/Koha/Patron/MessagePreference/Attributes.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use Koha::Database; > >diff --git a/t/db_dependent/Koha/Patron/MessagePreference/Transport/Preferences.t b/t/db_dependent/Koha/Patron/MessagePreference/Transport/Preferences.t >index 8f9af16e372..b16982bd156 100755 >--- a/t/db_dependent/Koha/Patron/MessagePreference/Transport/Preferences.t >+++ b/t/db_dependent/Koha/Patron/MessagePreference/Transport/Preferences.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use t::lib::Mocks; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/Patron/MessagePreference/Transport/Types.t b/t/db_dependent/Koha/Patron/MessagePreference/Transport/Types.t >index 436caab5343..046674eda27 100755 >--- a/t/db_dependent/Koha/Patron/MessagePreference/Transport/Types.t >+++ b/t/db_dependent/Koha/Patron/MessagePreference/Transport/Types.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use Koha::Database; > >diff --git a/t/db_dependent/Koha/Patron/MessagePreference/Transports.t b/t/db_dependent/Koha/Patron/MessagePreference/Transports.t >index 5aee0a52a22..07dd87c0ee2 100755 >--- a/t/db_dependent/Koha/Patron/MessagePreference/Transports.t >+++ b/t/db_dependent/Koha/Patron/MessagePreference/Transports.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Koha/Patron/MessagePreferences.t b/t/db_dependent/Koha/Patron/MessagePreferences.t >index fadb843a546..1a6fcf7545c 100755 >--- a/t/db_dependent/Koha/Patron/MessagePreferences.t >+++ b/t/db_dependent/Koha/Patron/MessagePreferences.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > > use t::lib::Mocks; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/Patron/Messages.t b/t/db_dependent/Koha/Patron/Messages.t >index 0ce23763dde..689a9a5b857 100755 >--- a/t/db_dependent/Koha/Patron/Messages.t >+++ b/t/db_dependent/Koha/Patron/Messages.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 14; >+use Test::NoWarnings; >+use Test::More tests => 15; > > use C4::Context; > use Koha::ActionLogs; >diff --git a/t/db_dependent/Koha/Patron/Relationship.t b/t/db_dependent/Koha/Patron/Relationship.t >index d8b64576296..5943ba64644 100755 >--- a/t/db_dependent/Koha/Patron/Relationship.t >+++ b/t/db_dependent/Koha/Patron/Relationship.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Exception; > > use Koha::Database; >diff --git a/t/db_dependent/Koha/Patron/Restriction.t b/t/db_dependent/Koha/Patron/Restriction.t >index 4c95dcf70cc..5f6e6cc5df0 100755 >--- a/t/db_dependent/Koha/Patron/Restriction.t >+++ b/t/db_dependent/Koha/Patron/Restriction.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::Exception; > > use Koha::Database; >diff --git a/t/db_dependent/Koha/Patron/Restriction/Type.t b/t/db_dependent/Koha/Patron/Restriction/Type.t >index 2f143118e6f..9fdffb821d3 100755 >--- a/t/db_dependent/Koha/Patron/Restriction/Type.t >+++ b/t/db_dependent/Koha/Patron/Restriction/Type.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::Exception; > > use Koha::Database; >diff --git a/t/db_dependent/Koha/Patron_generate_userid.t b/t/db_dependent/Koha/Patron_generate_userid.t >index 610876c91ed..bd62a99b23a 100755 >--- a/t/db_dependent/Koha/Patron_generate_userid.t >+++ b/t/db_dependent/Koha/Patron_generate_userid.t >@@ -21,7 +21,8 @@ use Modern::Perl; > use utf8; > > #use Data::Dumper; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Warn; > use Test::MockModule; > use Test::MockObject; >diff --git a/t/db_dependent/Koha/Patrons.t b/t/db_dependent/Koha/Patrons.t >index 854a12060ed..8027066f4b9 100755 >--- a/t/db_dependent/Koha/Patrons.t >+++ b/t/db_dependent/Koha/Patrons.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 44; >+use Test::NoWarnings; >+use Test::More tests => 45; > use Test::Warn; > use Test::Exception; > use Test::MockModule; >diff --git a/t/db_dependent/Koha/Plugins/Account_hooks.t b/t/db_dependent/Koha/Plugins/Account_hooks.t >index 020248ad738..cbaaf704826 100755 >--- a/t/db_dependent/Koha/Plugins/Account_hooks.t >+++ b/t/db_dependent/Koha/Plugins/Account_hooks.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::MockModule; > use Test::Warn; > >diff --git a/t/db_dependent/Koha/Plugins/Auth/Client.t b/t/db_dependent/Koha/Plugins/Auth/Client.t >index e83e717a3f7..a50233e7596 100755 >--- a/t/db_dependent/Koha/Plugins/Auth/Client.t >+++ b/t/db_dependent/Koha/Plugins/Auth/Client.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use Test::Exception; > > use File::Basename; >diff --git a/t/db_dependent/Koha/Plugins/BackgroundJob.t b/t/db_dependent/Koha/Plugins/BackgroundJob.t >index 1bb7e3c26c6..eb1a8701478 100755 >--- a/t/db_dependent/Koha/Plugins/BackgroundJob.t >+++ b/t/db_dependent/Koha/Plugins/BackgroundJob.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::MockModule; > > use File::Basename; >diff --git a/t/db_dependent/Koha/Plugins/Barcode_transform_hooks.t b/t/db_dependent/Koha/Plugins/Barcode_transform_hooks.t >index c7123401198..107b950e640 100755 >--- a/t/db_dependent/Koha/Plugins/Barcode_transform_hooks.t >+++ b/t/db_dependent/Koha/Plugins/Barcode_transform_hooks.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::MockModule; > use Test::Warn; > >diff --git a/t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t b/t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t >index 68ebfd3a761..aabe39b2d8d 100755 >--- a/t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t >+++ b/t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Warn; > > use File::Basename; >diff --git a/t/db_dependent/Koha/Plugins/Broken.t b/t/db_dependent/Koha/Plugins/Broken.t >index 6db153db7ed..8db18610001 100755 >--- a/t/db_dependent/Koha/Plugins/Broken.t >+++ b/t/db_dependent/Koha/Plugins/Broken.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > use File::Basename; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Warn; > > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha/Plugins/Circulation_hooks.t b/t/db_dependent/Koha/Plugins/Circulation_hooks.t >index a017b25079e..57bc70edb88 100755 >--- a/t/db_dependent/Koha/Plugins/Circulation_hooks.t >+++ b/t/db_dependent/Koha/Plugins/Circulation_hooks.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::MockModule; > use Test::Warn; > >diff --git a/t/db_dependent/Koha/Plugins/Holds_hooks.t b/t/db_dependent/Koha/Plugins/Holds_hooks.t >index b2df421f8ae..a3b219bc601 100755 >--- a/t/db_dependent/Koha/Plugins/Holds_hooks.t >+++ b/t/db_dependent/Koha/Plugins/Holds_hooks.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use Test::MockModule; > use Test::Warn; > >diff --git a/t/db_dependent/Koha/Plugins/Ill_hooks.t b/t/db_dependent/Koha/Plugins/Ill_hooks.t >index a2be67380ab..ca8af8a9e80 100755 >--- a/t/db_dependent/Koha/Plugins/Ill_hooks.t >+++ b/t/db_dependent/Koha/Plugins/Ill_hooks.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > use File::Basename; >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use t::lib::Mocks; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/Plugins/KitchenSink.t b/t/db_dependent/Koha/Plugins/KitchenSink.t >index 7393d00ef23..af2ba6ecf9e 100755 >--- a/t/db_dependent/Koha/Plugins/KitchenSink.t >+++ b/t/db_dependent/Koha/Plugins/KitchenSink.t >@@ -19,7 +19,8 @@ use Archive::Extract; > use File::Temp qw/tempdir/; > use FindBin qw($Bin); > use Test::MockModule; >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Warn; > > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha/Plugins/Message_hooks.t b/t/db_dependent/Koha/Plugins/Message_hooks.t >index 6abb2781b07..1e2967c3a84 100755 >--- a/t/db_dependent/Koha/Plugins/Message_hooks.t >+++ b/t/db_dependent/Koha/Plugins/Message_hooks.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::MockModule; > use Test::Warn; > >diff --git a/t/db_dependent/Koha/Plugins/Plugins.t b/t/db_dependent/Koha/Plugins/Plugins.t >index c8b8163b373..22c950b7959 100755 >--- a/t/db_dependent/Koha/Plugins/Plugins.t >+++ b/t/db_dependent/Koha/Plugins/Plugins.t >@@ -24,7 +24,8 @@ use File::Temp qw( tempdir tempfile ); > use FindBin qw($Bin); > use Module::Load::Conditional qw(can_load); > use Test::MockModule; >-use Test::More tests => 18; >+use Test::NoWarnings; >+use Test::More tests => 19; > use Test::Warn; > > use C4::Context; >diff --git a/t/db_dependent/Koha/Plugins/TemplateIncludePathHook.t b/t/db_dependent/Koha/Plugins/TemplateIncludePathHook.t >index 9ac1540967f..2dfa24624d6 100755 >--- a/t/db_dependent/Koha/Plugins/TemplateIncludePathHook.t >+++ b/t/db_dependent/Koha/Plugins/TemplateIncludePathHook.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::MockModule; > use Test::Warn; > >diff --git a/t/db_dependent/Koha/Plugins/Transform_prepared_letter_hook.t b/t/db_dependent/Koha/Plugins/Transform_prepared_letter_hook.t >index 060fd5cfc73..f951467bc0d 100755 >--- a/t/db_dependent/Koha/Plugins/Transform_prepared_letter_hook.t >+++ b/t/db_dependent/Koha/Plugins/Transform_prepared_letter_hook.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::MockModule; > use Test::Warn; > >diff --git a/t/db_dependent/Koha/Plugins/authority_hooks.t b/t/db_dependent/Koha/Plugins/authority_hooks.t >index 5682c5a7a68..7cc2a19fca9 100755 >--- a/t/db_dependent/Koha/Plugins/authority_hooks.t >+++ b/t/db_dependent/Koha/Plugins/authority_hooks.t >@@ -17,7 +17,8 @@ > use Modern::Perl; > > use MARC::Record; >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::Warn; > > use File::Basename; >diff --git a/t/db_dependent/Koha/Policy/Holds.t b/t/db_dependent/Koha/Policy/Holds.t >index fc54c886f6f..c5a131ab7c5 100755 >--- a/t/db_dependent/Koha/Policy/Holds.t >+++ b/t/db_dependent/Koha/Policy/Holds.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha/Policy/Patrons/Cardnumber.t b/t/db_dependent/Koha/Policy/Patrons/Cardnumber.t >index 10c55832f8d..516a0b9a653 100755 >--- a/t/db_dependent/Koha/Policy/Patrons/Cardnumber.t >+++ b/t/db_dependent/Koha/Policy/Patrons/Cardnumber.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use Koha::Database; > use Koha::Policy::Patrons::Cardnumber; >diff --git a/t/db_dependent/Koha/Preservation/Processings.t b/t/db_dependent/Koha/Preservation/Processings.t >index 2c60173f0de..84ebd50fc76 100755 >--- a/t/db_dependent/Koha/Preservation/Processings.t >+++ b/t/db_dependent/Koha/Preservation/Processings.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Exception; > use Test::Warn; > >diff --git a/t/db_dependent/Koha/Preservation/Trains.t b/t/db_dependent/Koha/Preservation/Trains.t >index 7b6f71a5a1a..9a2e3a76fd2 100755 >--- a/t/db_dependent/Koha/Preservation/Trains.t >+++ b/t/db_dependent/Koha/Preservation/Trains.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Exception; > use Test::Warn; > >diff --git a/t/db_dependent/Koha/PseudonymizedTransaction.t b/t/db_dependent/Koha/PseudonymizedTransaction.t >index 7a92a14a77b..11e247f6d02 100755 >--- a/t/db_dependent/Koha/PseudonymizedTransaction.t >+++ b/t/db_dependent/Koha/PseudonymizedTransaction.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use Test::Exception; > >diff --git a/t/db_dependent/Koha/Quotes.t b/t/db_dependent/Koha/Quotes.t >index e324ee409f6..077225f86e8 100755 >--- a/t/db_dependent/Koha/Quotes.t >+++ b/t/db_dependent/Koha/Quotes.t >@@ -16,7 +16,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 14; >+use Test::NoWarnings; >+use Test::More tests => 15; > > use Koha::Database; > use Koha::DateUtils qw(dt_from_string); >diff --git a/t/db_dependent/Koha/REST/Plugin/Auth/IdP.t b/t/db_dependent/Koha/REST/Plugin/Auth/IdP.t >index 1c86bc65a43..3a2d8bd90f5 100755 >--- a/t/db_dependent/Koha/REST/Plugin/Auth/IdP.t >+++ b/t/db_dependent/Koha/REST/Plugin/Auth/IdP.t >@@ -68,7 +68,8 @@ post '/start_session' => sub { > } > }; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Mojo; > > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha/REST/Plugin/Objects.t b/t/db_dependent/Koha/REST/Plugin/Objects.t >index 3efbc1f7a44..36b28942221 100755 >--- a/t/db_dependent/Koha/REST/Plugin/Objects.t >+++ b/t/db_dependent/Koha/REST/Plugin/Objects.t >@@ -134,7 +134,8 @@ get '/cities/:city_id/rs' => sub { > }; > > # The tests >-use Test::More tests => 18; >+use Test::NoWarnings; >+use Test::More tests => 19; > use Test::Mojo; > > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha/REST/Plugin/Pagination.t b/t/db_dependent/Koha/REST/Plugin/Pagination.t >index 2453da8cd31..be36e923a7c 100755 >--- a/t/db_dependent/Koha/REST/Plugin/Pagination.t >+++ b/t/db_dependent/Koha/REST/Plugin/Pagination.t >@@ -89,7 +89,8 @@ get '/dbic_merge_pagination' => sub { > > # The tests > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Mojo; > > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha/REST/Plugin/PluginRoutes.t b/t/db_dependent/Koha/REST/Plugin/PluginRoutes.t >index 9138c5a7eec..fe8db7536c8 100755 >--- a/t/db_dependent/Koha/REST/Plugin/PluginRoutes.t >+++ b/t/db_dependent/Koha/REST/Plugin/PluginRoutes.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::Mojo; > use Test::Warn; > use Test::MockModule; >diff --git a/t/db_dependent/Koha/REST/V1.t b/t/db_dependent/Koha/REST/V1.t >index d73b26f9fa4..4dc1ce701d5 100755 >--- a/t/db_dependent/Koha/REST/V1.t >+++ b/t/db_dependent/Koha/REST/V1.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > use Test::Warn; > >diff --git a/t/db_dependent/Koha/Ratings.t b/t/db_dependent/Koha/Ratings.t >index 88f7ee6e64b..e5049bc16ea 100755 >--- a/t/db_dependent/Koha/Ratings.t >+++ b/t/db_dependent/Koha/Ratings.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > > use Koha::Database; > use Koha::Rating; >diff --git a/t/db_dependent/Koha/Recall.t b/t/db_dependent/Koha/Recall.t >index cdd83b1ca1f..4a1d17a9dea 100755 >--- a/t/db_dependent/Koha/Recall.t >+++ b/t/db_dependent/Koha/Recall.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 27; >+use Test::NoWarnings; >+use Test::More tests => 28; > use t::lib::Dates; > use t::lib::TestBuilder; > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha/Recalls.t b/t/db_dependent/Koha/Recalls.t >index 05ffc0b47b1..e44ad141118 100755 >--- a/t/db_dependent/Koha/Recalls.t >+++ b/t/db_dependent/Koha/Recalls.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 23; >+use Test::NoWarnings; >+use Test::More tests => 24; > use t::lib::Dates; > use t::lib::TestBuilder; > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha/RecordSource.t b/t/db_dependent/Koha/RecordSource.t >index 5a0bba3212f..3a15736acf3 100755 >--- a/t/db_dependent/Koha/RecordSource.t >+++ b/t/db_dependent/Koha/RecordSource.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > >diff --git a/t/db_dependent/Koha/Reports.t b/t/db_dependent/Koha/Reports.t >index ce9b80b73f4..205b1df60a7 100755 >--- a/t/db_dependent/Koha/Reports.t >+++ b/t/db_dependent/Koha/Reports.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > > use Koha::Report; > use Koha::Reports; >diff --git a/t/db_dependent/Koha/Reviews.t b/t/db_dependent/Koha/Reviews.t >index 8fcc07dbad8..4e801981e32 100755 >--- a/t/db_dependent/Koha/Reviews.t >+++ b/t/db_dependent/Koha/Reviews.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > > use Koha::Patrons; > use Koha::Reviews; >diff --git a/t/db_dependent/Koha/SMS_Providers.t b/t/db_dependent/Koha/SMS_Providers.t >index 7834ee4cf81..f0f1a2f708e 100755 >--- a/t/db_dependent/Koha/SMS_Providers.t >+++ b/t/db_dependent/Koha/SMS_Providers.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > > use Koha::Database; > use Koha::SMS::Provider; >diff --git a/t/db_dependent/Koha/SMTP/Server.t b/t/db_dependent/Koha/SMTP/Server.t >index bd7ddeb8517..7a73b9725fc 100755 >--- a/t/db_dependent/Koha/SMTP/Server.t >+++ b/t/db_dependent/Koha/SMTP/Server.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::Exception; > use Test::Warn; > >diff --git a/t/db_dependent/Koha/SMTP/Servers.t b/t/db_dependent/Koha/SMTP/Servers.t >index 195ebd0f3b5..e7b38335bf7 100755 >--- a/t/db_dependent/Koha/SMTP/Servers.t >+++ b/t/db_dependent/Koha/SMTP/Servers.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::SMTP::Servers; > >diff --git a/t/db_dependent/Koha/SearchEngine/Elasticsearch/Indexer.t b/t/db_dependent/Koha/SearchEngine/Elasticsearch/Indexer.t >index ee467654d2e..a7740361bab 100755 >--- a/t/db_dependent/Koha/SearchEngine/Elasticsearch/Indexer.t >+++ b/t/db_dependent/Koha/SearchEngine/Elasticsearch/Indexer.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::MockModule; > use Test::Warn; > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t b/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t >index 2c0b746faca..ebd32aade8c 100755 >--- a/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t >+++ b/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t >@@ -22,7 +22,8 @@ use Test::Exception; > use Test::Warn; > use t::lib::Mocks; > use t::lib::TestBuilder; >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > > use List::Util qw( all ); > >diff --git a/t/db_dependent/Koha/SearchEngine/Elasticsearch/Reset.t b/t/db_dependent/Koha/SearchEngine/Elasticsearch/Reset.t >index bcc44698f88..dce95eefae4 100755 >--- a/t/db_dependent/Koha/SearchEngine/Elasticsearch/Reset.t >+++ b/t/db_dependent/Koha/SearchEngine/Elasticsearch/Reset.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > use Test::MockModule; > > use Koha::Database; >diff --git a/t/db_dependent/Koha/SearchEngine/Indexer.t b/t/db_dependent/Koha/SearchEngine/Indexer.t >index 9b3938fd190..dc7af18b252 100755 >--- a/t/db_dependent/Koha/SearchEngine/Indexer.t >+++ b/t/db_dependent/Koha/SearchEngine/Indexer.t >@@ -4,7 +4,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::Warn; > > use MARC::Field; >diff --git a/t/db_dependent/Koha/SearchEngine/Search.t b/t/db_dependent/Koha/SearchEngine/Search.t >index f7838a3c16f..5c70c0a85dc 100755 >--- a/t/db_dependent/Koha/SearchEngine/Search.t >+++ b/t/db_dependent/Koha/SearchEngine/Search.t >@@ -4,7 +4,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use MARC::Field; > use MARC::Record; >diff --git a/t/db_dependent/Koha/SearchEngine/Zebra/QueryBuilder.t b/t/db_dependent/Koha/SearchEngine/Zebra/QueryBuilder.t >index 5d169de9396..67d3047dead 100755 >--- a/t/db_dependent/Koha/SearchEngine/Zebra/QueryBuilder.t >+++ b/t/db_dependent/Koha/SearchEngine/Zebra/QueryBuilder.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use t::lib::Mocks; > use t::lib::TestBuilder; > use Test::MockModule; >diff --git a/t/db_dependent/Koha/SearchField.t b/t/db_dependent/Koha/SearchField.t >index 2abbf604082..e9734b7c181 100755 >--- a/t/db_dependent/Koha/SearchField.t >+++ b/t/db_dependent/Koha/SearchField.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 12; >+use Test::NoWarnings; >+use Test::More tests => 13; > > use Koha::Database; > use Koha::SearchFields; >diff --git a/t/db_dependent/Koha/SearchFilters.t b/t/db_dependent/Koha/SearchFilters.t >index 81a304ba273..9dd3287c13b 100755 >--- a/t/db_dependent/Koha/SearchFilters.t >+++ b/t/db_dependent/Koha/SearchFilters.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use Koha::Database; > use Koha::SearchFilters; >diff --git a/t/db_dependent/Koha/Session.t b/t/db_dependent/Koha/Session.t >index e9cce064c3f..90f9ba94bab 100755 >--- a/t/db_dependent/Koha/Session.t >+++ b/t/db_dependent/Koha/Session.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use t::lib::TestBuilder; > use C4::Auth; >diff --git a/t/db_dependent/Koha/SharedContent.t b/t/db_dependent/Koha/SharedContent.t >index 14bc0c82de3..88145315395 100755 >--- a/t/db_dependent/Koha/SharedContent.t >+++ b/t/db_dependent/Koha/SharedContent.t >@@ -23,7 +23,8 @@ use t::lib::TestBuilder; > use t::lib::Mocks; > use Test::MockModule; > use Test::MockObject; >-use Test::More tests => 45; >+use Test::NoWarnings; >+use Test::More tests => 46; > use Koha::Database; > use Koha::Patrons; > use Koha::Subscriptions; >diff --git a/t/db_dependent/Koha/Statistic.t b/t/db_dependent/Koha/Statistic.t >index 1146c3330d9..e096f614d9c 100755 >--- a/t/db_dependent/Koha/Statistic.t >+++ b/t/db_dependent/Koha/Statistic.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::DateUtils qw(dt_from_string); > use Koha::Statistics; >diff --git a/t/db_dependent/Koha/Statistics.t b/t/db_dependent/Koha/Statistics.t >index 30b6e571cf4..60fb2f955b2 100755 >--- a/t/db_dependent/Koha/Statistics.t >+++ b/t/db_dependent/Koha/Statistics.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::Exception; > > use C4::Context; >diff --git a/t/db_dependent/Koha/Subscription.t b/t/db_dependent/Koha/Subscription.t >index c5c98dffc9d..80a1a639bad 100755 >--- a/t/db_dependent/Koha/Subscription.t >+++ b/t/db_dependent/Koha/Subscription.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 10; >+use Test::NoWarnings; >+use Test::More tests => 11; > > use Koha::Database; > use Koha::Subscription; >diff --git a/t/db_dependent/Koha/Subscription/Numberpatterns.t b/t/db_dependent/Koha/Subscription/Numberpatterns.t >index 63635504f1d..f69bab82d4b 100755 >--- a/t/db_dependent/Koha/Subscription/Numberpatterns.t >+++ b/t/db_dependent/Koha/Subscription/Numberpatterns.t >@@ -20,7 +20,8 @@ > use Modern::Perl; > > use t::lib::TestBuilder; >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use Koha::Database; > > use_ok('Koha::Subscription::Numberpatterns'); >diff --git a/t/db_dependent/Koha/Subscription/Routinglists.t b/t/db_dependent/Koha/Subscription/Routinglists.t >index 83ad435fdda..c5eaf607a19 100755 >--- a/t/db_dependent/Koha/Subscription/Routinglists.t >+++ b/t/db_dependent/Koha/Subscription/Routinglists.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use t::lib::TestBuilder; > > use C4::Biblio; >diff --git a/t/db_dependent/Koha/Suggestion.t b/t/db_dependent/Koha/Suggestion.t >index ccf5c5af9b6..cf959d868ea 100755 >--- a/t/db_dependent/Koha/Suggestion.t >+++ b/t/db_dependent/Koha/Suggestion.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > use Koha::Suggestions; >diff --git a/t/db_dependent/Koha/Suggestions.t b/t/db_dependent/Koha/Suggestions.t >index dd032d22f3b..c47f80f9998 100755 >--- a/t/db_dependent/Koha/Suggestions.t >+++ b/t/db_dependent/Koha/Suggestions.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 11; >+use Test::NoWarnings; >+use Test::More tests => 12; > use Test::Exception; > > use Koha::Suggestions; >diff --git a/t/db_dependent/Koha/Tags.t b/t/db_dependent/Koha/Tags.t >index e66aa36697f..f93b75f3413 100755 >--- a/t/db_dependent/Koha/Tags.t >+++ b/t/db_dependent/Koha/Tags.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Koha/Tags/Approvals.t b/t/db_dependent/Koha/Tags/Approvals.t >index ce180082466..1d312272119 100755 >--- a/t/db_dependent/Koha/Tags/Approvals.t >+++ b/t/db_dependent/Koha/Tags/Approvals.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Koha/Tags/Indexes.t b/t/db_dependent/Koha/Tags/Indexes.t >index 888d3c1c55a..9bef993a692 100755 >--- a/t/db_dependent/Koha/Tags/Indexes.t >+++ b/t/db_dependent/Koha/Tags/Indexes.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Koha/Template/Plugin/Asset.t b/t/db_dependent/Koha/Template/Plugin/Asset.t >index 9620fe85500..68132ecfb95 100755 >--- a/t/db_dependent/Koha/Template/Plugin/Asset.t >+++ b/t/db_dependent/Koha/Template/Plugin/Asset.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 16; >+use Test::NoWarnings; >+use Test::More tests => 17; > use Template; > use Test::MockModule; > >diff --git a/t/db_dependent/Koha/Template/Plugin/Branches.t b/t/db_dependent/Koha/Template/Plugin/Branches.t >index 3a7cad98ec2..7ecb81daaf3 100755 >--- a/t/db_dependent/Koha/Template/Plugin/Branches.t >+++ b/t/db_dependent/Koha/Template/Plugin/Branches.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use t::lib::Mocks; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha/Template/Plugin/CirculationRules.t b/t/db_dependent/Koha/Template/Plugin/CirculationRules.t >index a358da3d3f4..d082329d310 100755 >--- a/t/db_dependent/Koha/Template/Plugin/CirculationRules.t >+++ b/t/db_dependent/Koha/Template/Plugin/CirculationRules.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > > use C4::Context; > use C4::Circulation qw(AddIssue); >diff --git a/t/db_dependent/Koha/Template/Plugin/ClassSources.t b/t/db_dependent/Koha/Template/Plugin/ClassSources.t >index 70cad83f875..5068d78865d 100755 >--- a/t/db_dependent/Koha/Template/Plugin/ClassSources.t >+++ b/t/db_dependent/Koha/Template/Plugin/ClassSources.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use t::lib::Mocks; > >diff --git a/t/db_dependent/Koha/Template/Plugin/ExtendedAttributeTypes.t b/t/db_dependent/Koha/Template/Plugin/ExtendedAttributeTypes.t >index 8ba60d89968..419fce09f5e 100755 >--- a/t/db_dependent/Koha/Template/Plugin/ExtendedAttributeTypes.t >+++ b/t/db_dependent/Koha/Template/Plugin/ExtendedAttributeTypes.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > > use C4::Context; > use Koha::Database; >diff --git a/t/db_dependent/Koha/Template/Plugin/ItemTypes.t b/t/db_dependent/Koha/Template/Plugin/ItemTypes.t >index cfaa4b97d7a..f783764f479 100755 >--- a/t/db_dependent/Koha/Template/Plugin/ItemTypes.t >+++ b/t/db_dependent/Koha/Template/Plugin/ItemTypes.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 10; >+use Test::NoWarnings; >+use Test::More tests => 11; > > use C4::Context; > use Koha::Database; >diff --git a/t/db_dependent/Koha/Template/Plugin/JSConsents.t b/t/db_dependent/Koha/Template/Plugin/JSConsents.t >index 37f14a487a7..bde7ef94192 100755 >--- a/t/db_dependent/Koha/Template/Plugin/JSConsents.t >+++ b/t/db_dependent/Koha/Template/Plugin/JSConsents.t >@@ -5,7 +5,8 @@ use Modern::Perl; > use C4::Context; > > use Test::MockModule; >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use t::lib::Mocks; > > BEGIN { >diff --git a/t/db_dependent/Koha/Template/Plugin/KohaPlugins.t b/t/db_dependent/Koha/Template/Plugin/KohaPlugins.t >index f17d6d3e231..d8aa7b658e6 100755 >--- a/t/db_dependent/Koha/Template/Plugin/KohaPlugins.t >+++ b/t/db_dependent/Koha/Template/Plugin/KohaPlugins.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 18; >+use Test::NoWarnings; >+use Test::More tests => 19; > use Test::Warn; > use CGI; > use File::Basename; >diff --git a/t/db_dependent/Koha/Template/Plugin/Notices.t b/t/db_dependent/Koha/Template/Plugin/Notices.t >index 7000c1ac5ae..13f8f6d618b 100755 >--- a/t/db_dependent/Koha/Template/Plugin/Notices.t >+++ b/t/db_dependent/Koha/Template/Plugin/Notices.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > > use C4::Context; > use Koha::Database; >diff --git a/t/db_dependent/Koha/Template/Plugin/Registers.t b/t/db_dependent/Koha/Template/Plugin/Registers.t >index a8b6393479e..7bba99c8c25 100755 >--- a/t/db_dependent/Koha/Template/Plugin/Registers.t >+++ b/t/db_dependent/Koha/Template/Plugin/Registers.t >@@ -17,7 +17,8 @@ > # with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use t::lib::TestBuilder; > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha/Template/Plugin/TablesSettings.t b/t/db_dependent/Koha/Template/Plugin/TablesSettings.t >index 08a5289badc..a2bca2f640d 100755 >--- a/t/db_dependent/Koha/Template/Plugin/TablesSettings.t >+++ b/t/db_dependent/Koha/Template/Plugin/TablesSettings.t >@@ -5,7 +5,8 @@ use Modern::Perl; > use C4::Context; > > use Test::MockModule; >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use t::lib::Mocks; > > BEGIN { >diff --git a/t/db_dependent/Koha/Ticket.t b/t/db_dependent/Koha/Ticket.t >index c31fdc04fb8..46eae6755a7 100755 >--- a/t/db_dependent/Koha/Ticket.t >+++ b/t/db_dependent/Koha/Ticket.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > use t::lib::TestBuilder; > use t::lib::Mocks; > >diff --git a/t/db_dependent/Koha/Ticket/Update.t b/t/db_dependent/Koha/Ticket/Update.t >index cd7d3cbd7cf..66cdfc10c15 100755 >--- a/t/db_dependent/Koha/Ticket/Update.t >+++ b/t/db_dependent/Koha/Ticket/Update.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use t::lib::TestBuilder; > > use Koha::Database; >diff --git a/t/db_dependent/Koha/UI/Form/Builder/Biblio.t b/t/db_dependent/Koha/UI/Form/Builder/Biblio.t >index 63546845215..ab63fc34a30 100755 >--- a/t/db_dependent/Koha/UI/Form/Builder/Biblio.t >+++ b/t/db_dependent/Koha/UI/Form/Builder/Biblio.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > use Test::MockModule; > > use C4::ClassSource; >diff --git a/t/db_dependent/Koha/UI/Form/Builder/Item.t b/t/db_dependent/Koha/UI/Form/Builder/Item.t >index 00556935db8..7a90485648c 100755 >--- a/t/db_dependent/Koha/UI/Form/Builder/Item.t >+++ b/t/db_dependent/Koha/UI/Form/Builder/Item.t >@@ -16,7 +16,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 10; >+use Test::NoWarnings; >+use Test::More tests => 11; > use Test::MockModule; > use Data::Dumper qw( Dumper ); > use utf8; >diff --git a/t/db_dependent/Koha/UI/Form/Builder/Item/itemtypes-default.t b/t/db_dependent/Koha/UI/Form/Builder/Item/itemtypes-default.t >index a5bfe87f319..fb409fd18c0 100755 >--- a/t/db_dependent/Koha/UI/Form/Builder/Item/itemtypes-default.t >+++ b/t/db_dependent/Koha/UI/Form/Builder/Item/itemtypes-default.t >@@ -16,7 +16,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use Koha::Database; > use Koha::UI::Form::Builder::Item; >diff --git a/t/db_dependent/Koha/Virtualshelf.t b/t/db_dependent/Koha/Virtualshelf.t >index fef044292ee..28362f4e031 100755 >--- a/t/db_dependent/Koha/Virtualshelf.t >+++ b/t/db_dependent/Koha/Virtualshelf.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Exception; > > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha/Virtualshelves.t b/t/db_dependent/Koha/Virtualshelves.t >index 36c1bda5c71..48f1a0cd2c1 100755 >--- a/t/db_dependent/Koha/Virtualshelves.t >+++ b/t/db_dependent/Koha/Virtualshelves.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Exception; > > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha/XSLT/Base.t b/t/db_dependent/Koha/XSLT/Base.t >index cdba853253a..dbe9b3fa1c9 100755 >--- a/t/db_dependent/Koha/XSLT/Base.t >+++ b/t/db_dependent/Koha/XSLT/Base.t >@@ -20,7 +20,8 @@ > use Modern::Perl; > > use File::Temp qw/tempfile/; >-use Test::More tests => 33; >+use Test::NoWarnings; >+use Test::More tests => 34; > use Test::Warn; > > use Koha::XSLT::Base; >diff --git a/t/db_dependent/Koha/XSLT/Security.t b/t/db_dependent/Koha/XSLT/Security.t >index 1d1557fc63a..e7671fe7326 100755 >--- a/t/db_dependent/Koha/XSLT/Security.t >+++ b/t/db_dependent/Koha/XSLT/Security.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > use File::Temp qw/tempfile/; >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > use Test::Warn; > > use Koha::XSLT::Base; >diff --git a/t/db_dependent/Koha/Z3950Responder/GenericSession.t b/t/db_dependent/Koha/Z3950Responder/GenericSession.t >index 21b5cb2a4a9..b8e0fba962d 100755 >--- a/t/db_dependent/Koha/Z3950Responder/GenericSession.t >+++ b/t/db_dependent/Koha/Z3950Responder/GenericSession.t >@@ -3,7 +3,8 @@ > use Modern::Perl; > use utf8; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::WWW::Mechanize; > use t::lib::Mocks qw(mock_preference); > >diff --git a/t/db_dependent/Koha/Z3950Responder/Session.t b/t/db_dependent/Koha/Z3950Responder/Session.t >index ea9071cc6a7..39ddc787327 100755 >--- a/t/db_dependent/Koha/Z3950Responder/Session.t >+++ b/t/db_dependent/Koha/Z3950Responder/Session.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use t::lib::TestBuilder; > use C4::Items qw( GetMarcItem ); > >diff --git a/t/db_dependent/Koha/Z3950Responder/Session2.t b/t/db_dependent/Koha/Z3950Responder/Session2.t >index 7ac2145f65c..6e13b053b1c 100755 >--- a/t/db_dependent/Koha/Z3950Responder/Session2.t >+++ b/t/db_dependent/Koha/Z3950Responder/Session2.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use t::lib::TestBuilder; > use C4::Items qw( GetMarcItem ); > >diff --git a/t/db_dependent/Koha/Z3950Responder/ZebraSession.t b/t/db_dependent/Koha/Z3950Responder/ZebraSession.t >index 47cc4d62637..dc1951378c0 100755 >--- a/t/db_dependent/Koha/Z3950Responder/ZebraSession.t >+++ b/t/db_dependent/Koha/Z3950Responder/ZebraSession.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::MockObject; > use t::lib::Mocks qw(mock_preference); > >diff --git a/t/db_dependent/Koha/Z3950Servers.t b/t/db_dependent/Koha/Z3950Servers.t >index 556617f37f0..9ccb8ddf4b6 100755 >--- a/t/db_dependent/Koha/Z3950Servers.t >+++ b/t/db_dependent/Koha/Z3950Servers.t >@@ -18,7 +18,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Exception; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Koha_Database.t b/t/db_dependent/Koha_Database.t >index 19dbaec6b76..e7455b4a872 100755 >--- a/t/db_dependent/Koha_Database.t >+++ b/t/db_dependent/Koha_Database.t >@@ -4,7 +4,8 @@ > use Modern::Perl; > use utf8; > >-use Test::More tests => 9; >+use Test::NoWarnings; >+use Test::More tests => 10; > > BEGIN { > use_ok('Koha::Database'); >diff --git a/t/db_dependent/Koha_Elasticsearch.t b/t/db_dependent/Koha_Elasticsearch.t >index 0942a2e4de8..30584be13d1 100755 >--- a/t/db_dependent/Koha_Elasticsearch.t >+++ b/t/db_dependent/Koha_Elasticsearch.t >@@ -15,7 +15,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::MockModule; > > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha_ExternalContent_OverDrive.t b/t/db_dependent/Koha_ExternalContent_OverDrive.t >index 1815634dd09..7eaed22b73a 100755 >--- a/t/db_dependent/Koha_ExternalContent_OverDrive.t >+++ b/t/db_dependent/Koha_ExternalContent_OverDrive.t >@@ -2,6 +2,7 @@ > > use Modern::Perl; > >+use Test::NoWarnings; > use Test::More; > use Test::MockModule; > use t::lib::Mocks; >diff --git a/t/db_dependent/Koha_MetadataRecord_Authority.t b/t/db_dependent/Koha_MetadataRecord_Authority.t >index 3156dee252f..9d5fc583335 100755 >--- a/t/db_dependent/Koha_MetadataRecord_Authority.t >+++ b/t/db_dependent/Koha_MetadataRecord_Authority.t >@@ -19,7 +19,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use MARC::File::XML; > >diff --git a/t/db_dependent/Koha_Misc_Files.t b/t/db_dependent/Koha_Misc_Files.t >index f435beb716d..9a1bf2e23ca 100755 >--- a/t/db_dependent/Koha_Misc_Files.t >+++ b/t/db_dependent/Koha_Misc_Files.t >@@ -6,7 +6,8 @@ > use Modern::Perl; > use C4::Context; > use Koha::Database; >-use Test::More tests => 30; >+use Test::NoWarnings; >+use Test::More tests => 31; > > BEGIN { > use_ok('Koha::Misc::Files'); >diff --git a/t/db_dependent/Labels/t_Batch.t b/t/db_dependent/Labels/t_Batch.t >index eaa29a41111..4ac9b1b07e0 100755 >--- a/t/db_dependent/Labels/t_Batch.t >+++ b/t/db_dependent/Labels/t_Batch.t >@@ -20,7 +20,8 @@ > > use Modern::Perl; > >-use Test::More tests => 25; >+use Test::NoWarnings; >+use Test::More tests => 26; > use MARC::Record; > use MARC::Field; > >diff --git a/t/db_dependent/Labels/t_Label.t b/t/db_dependent/Labels/t_Label.t >index 524baf37797..cd65049688b 100755 >--- a/t/db_dependent/Labels/t_Label.t >+++ b/t/db_dependent/Labels/t_Label.t >@@ -20,7 +20,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use t::lib::TestBuilder; > use t::lib::Mocks; > >diff --git a/t/db_dependent/Labels/t_Layout.t b/t/db_dependent/Labels/t_Layout.t >index 63fe00c1de8..57fe860e9cc 100755 >--- a/t/db_dependent/Labels/t_Layout.t >+++ b/t/db_dependent/Labels/t_Layout.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 58; >+use Test::NoWarnings; >+use Test::More tests => 59; > > use C4::Context; > use Koha::Database; >diff --git a/t/db_dependent/Labels/t_Profile.t b/t/db_dependent/Labels/t_Profile.t >index b6de7ee6f5f..5ec36a9ba6f 100755 >--- a/t/db_dependent/Labels/t_Profile.t >+++ b/t/db_dependent/Labels/t_Profile.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 27; >+use Test::NoWarnings; >+use Test::More tests => 28; > > use C4::Context; > use Koha::Database; >diff --git a/t/db_dependent/Labels/t_Template.t b/t/db_dependent/Labels/t_Template.t >index 4ea7b72a88b..304e86aa27b 100755 >--- a/t/db_dependent/Labels/t_Template.t >+++ b/t/db_dependent/Labels/t_Template.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 54; >+use Test::NoWarnings; >+use Test::More tests => 55; > > use C4::Context; > use Koha::Database; >diff --git a/t/db_dependent/Languages.t b/t/db_dependent/Languages.t >index baac53b541f..e66aa4e87c2 100755 >--- a/t/db_dependent/Languages.t >+++ b/t/db_dependent/Languages.t >@@ -6,7 +6,8 @@ use utf8; > use Modern::Perl; > > use Encode; >-use Test::More tests => 22; >+use Test::NoWarnings; >+use Test::More tests => 23; > use Test::Deep; > use Test::Exception; > use List::Util qw(first); >diff --git a/t/db_dependent/Letters/GetLetterTemplates.t b/t/db_dependent/Letters/GetLetterTemplates.t >index 3e2e77d6d3f..00dc04d9378 100755 >--- a/t/db_dependent/Letters/GetLetterTemplates.t >+++ b/t/db_dependent/Letters/GetLetterTemplates.t >@@ -1,5 +1,6 @@ > use Modern::Perl; >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > > use C4::Context; > use C4::Letters qw( GetLetterTemplates ); >diff --git a/t/db_dependent/Letters/GetLettersAvailableForALibrary.t b/t/db_dependent/Letters/GetLettersAvailableForALibrary.t >index 7664540d9aa..1a14e3beea5 100755 >--- a/t/db_dependent/Letters/GetLettersAvailableForALibrary.t >+++ b/t/db_dependent/Letters/GetLettersAvailableForALibrary.t >@@ -1,5 +1,6 @@ > use Modern::Perl; >-use Test::More tests => 19; >+use Test::NoWarnings; >+use Test::More tests => 20; > > use C4::Context; > use C4::Letters qw( GetLetters GetLettersAvailableForALibrary DelLetter ); >diff --git a/t/db_dependent/Letters/TemplateToolkit.t b/t/db_dependent/Letters/TemplateToolkit.t >index 0ac1f928c23..ae31af4ac0b 100755 >--- a/t/db_dependent/Letters/TemplateToolkit.t >+++ b/t/db_dependent/Letters/TemplateToolkit.t >@@ -19,7 +19,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 32; >+use Test::NoWarnings; >+use Test::More tests => 33; > use Test::MockModule; > use Test::Warn; > >diff --git a/t/db_dependent/LibraryGroups.t b/t/db_dependent/LibraryGroups.t >index c190a334bfa..c5be4abb5e1 100755 >--- a/t/db_dependent/LibraryGroups.t >+++ b/t/db_dependent/LibraryGroups.t >@@ -4,7 +4,8 @@ use Modern::Perl; > > use List::MoreUtils 'any'; > >-use Test::More tests => 21; >+use Test::NoWarnings; >+use Test::More tests => 22; > > use t::lib::TestBuilder; > use Koha::Database; >diff --git a/t/db_dependent/Linker_Default.t b/t/db_dependent/Linker_Default.t >index 9e92920df2f..38a917ddf0d 100755 >--- a/t/db_dependent/Linker_Default.t >+++ b/t/db_dependent/Linker_Default.t >@@ -16,7 +16,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use MARC::Record; > use MARC::Field; >diff --git a/t/db_dependent/Linker_FirstMatch.t b/t/db_dependent/Linker_FirstMatch.t >index c411c374538..3499a98209e 100755 >--- a/t/db_dependent/Linker_FirstMatch.t >+++ b/t/db_dependent/Linker_FirstMatch.t >@@ -19,7 +19,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use MARC::Record; > use MARC::Field; >diff --git a/t/db_dependent/Log.t b/t/db_dependent/Log.t >index 13e1ab464aa..90bb355be79 100755 >--- a/t/db_dependent/Log.t >+++ b/t/db_dependent/Log.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > use Data::Dumper qw( Dumper ); >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > > use C4::Context; > use C4::Log qw( logaction cronlogaction ); >diff --git a/t/db_dependent/MarcModificationTemplates.t b/t/db_dependent/MarcModificationTemplates.t >index da21466fecf..5a5befce890 100755 >--- a/t/db_dependent/MarcModificationTemplates.t >+++ b/t/db_dependent/MarcModificationTemplates.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 129; >+use Test::NoWarnings; >+use Test::More tests => 130; > > use Koha::Database; > use Koha::SimpleMARC; >diff --git a/t/db_dependent/Matcher.t b/t/db_dependent/Matcher.t >index 975aef6a773..4fcef88b76f 100755 >--- a/t/db_dependent/Matcher.t >+++ b/t/db_dependent/Matcher.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > use MARC::Record; >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::Warn; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Members.t b/t/db_dependent/Members.t >index 7e1650829d4..12b45d66dd5 100755 >--- a/t/db_dependent/Members.t >+++ b/t/db_dependent/Members.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 50; >+use Test::NoWarnings; >+use Test::More tests => 51; > use Test::MockModule; > use Test::Exception; > >diff --git a/t/db_dependent/Members/IssueSlip.t b/t/db_dependent/Members/IssueSlip.t >index 302f223f623..faeb1570ac2 100755 >--- a/t/db_dependent/Members/IssueSlip.t >+++ b/t/db_dependent/Members/IssueSlip.t >@@ -18,7 +18,8 @@ > use Modern::Perl; > > use Data::Dumper; # REMOVEME with diag >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::MockModule; > use Test::MockTime qw( set_fixed_time ); > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Members/Statistics.t b/t/db_dependent/Members/Statistics.t >index 7e84b7eb825..9025e756de9 100755 >--- a/t/db_dependent/Members/Statistics.t >+++ b/t/db_dependent/Members/Statistics.t >@@ -1,5 +1,6 @@ > use Modern::Perl; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > # Please add more tests here !! > >diff --git a/t/db_dependent/Message.t b/t/db_dependent/Message.t >index ea05d7ec7d4..ceb23d00578 100755 >--- a/t/db_dependent/Message.t >+++ b/t/db_dependent/Message.t >@@ -16,7 +16,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > > use utf8; > >diff --git a/t/db_dependent/MungeMarcPrice.t b/t/db_dependent/MungeMarcPrice.t >index c510023c5bd..a9bdcdab1d0 100755 >--- a/t/db_dependent/MungeMarcPrice.t >+++ b/t/db_dependent/MungeMarcPrice.t >@@ -4,6 +4,7 @@ use Modern::Perl; > use C4::Biblio qw( MungeMarcPrice ); > use Koha::Database; > use Koha::Acquisition::Currencies; >+use Test::NoWarnings; > use Test::More; > > # work around wide character warnings >diff --git a/t/db_dependent/OAI/AndSets.t b/t/db_dependent/OAI/AndSets.t >index 6dda34f22b3..b97d5a6f88a 100755 >--- a/t/db_dependent/OAI/AndSets.t >+++ b/t/db_dependent/OAI/AndSets.t >@@ -18,7 +18,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::MockModule; > use Test::Warn; > use MARC::Record; >diff --git a/t/db_dependent/OAI/Server.t b/t/db_dependent/OAI/Server.t >index d8d11cd9d01..1c31c64e73c 100755 >--- a/t/db_dependent/OAI/Server.t >+++ b/t/db_dependent/OAI/Server.t >@@ -21,7 +21,8 @@ use Modern::Perl; > use Test::Deep qw( cmp_deeply re ); > use Test::MockTime qw/set_fixed_time set_relative_time restore_time/; > >-use Test::More tests => 35; >+use Test::NoWarnings; >+use Test::More tests => 36; > use DateTime; > use File::Basename; > use File::Spec; >diff --git a/t/db_dependent/OAI/Sets.t b/t/db_dependent/OAI/Sets.t >index 9bb726ce7ba..6cf8de03d40 100755 >--- a/t/db_dependent/OAI/Sets.t >+++ b/t/db_dependent/OAI/Sets.t >@@ -18,7 +18,8 @@ > > use Modern::Perl; > >-use Test::More tests => 153; >+use Test::NoWarnings; >+use Test::More tests => 154; > use Test::MockModule; > use Test::Warn; > use MARC::Record; >diff --git a/t/db_dependent/Passwordrecovery.t b/t/db_dependent/Passwordrecovery.t >index 332e9d357df..32d5dc0f3e2 100755 >--- a/t/db_dependent/Passwordrecovery.t >+++ b/t/db_dependent/Passwordrecovery.t >@@ -26,7 +26,8 @@ use Koha::Patrons; > use t::lib::TestBuilder; > use t::lib::Mocks; > >-use Test::More tests => 22; >+use Test::NoWarnings; >+use Test::More tests => 23; > use Test::MockModule; > use Test::Warn; > use Carp; >diff --git a/t/db_dependent/Patron/Borrower_Debarments.t b/t/db_dependent/Patron/Borrower_Debarments.t >index 9ecea5bf4d7..6e10166a8ab 100755 >--- a/t/db_dependent/Patron/Borrower_Debarments.t >+++ b/t/db_dependent/Patron/Borrower_Debarments.t >@@ -13,7 +13,8 @@ use Koha::ActionLogs; > use t::lib::Mocks; > use t::lib::TestBuilder; > >-use Test::More tests => 39; >+use Test::NoWarnings; >+use Test::More tests => 40; > > use_ok('Koha::Patron::Debarments'); > >diff --git a/t/db_dependent/Patron/Borrower_Files.t b/t/db_dependent/Patron/Borrower_Files.t >index f22eb7706d6..0a86bac4088 100755 >--- a/t/db_dependent/Patron/Borrower_Files.t >+++ b/t/db_dependent/Patron/Borrower_Files.t >@@ -25,7 +25,8 @@ use Koha::Database; > use Koha::Patrons; > use t::lib::TestBuilder; > >-use Test::More tests => 23; >+use Test::NoWarnings; >+use Test::More tests => 24; > > use_ok('Koha::Patron::Files'); > >diff --git a/t/db_dependent/Patron/Borrower_PrevCheckout.t b/t/db_dependent/Patron/Borrower_PrevCheckout.t >index 57fdde783b0..cb5480d5e74 100755 >--- a/t/db_dependent/Patron/Borrower_PrevCheckout.t >+++ b/t/db_dependent/Patron/Borrower_PrevCheckout.t >@@ -7,7 +7,8 @@ use Koha::Database; > use Koha::DateUtils qw( dt_from_string ); > use Koha::Patrons; > >-use Test::More tests => 61; >+use Test::NoWarnings; >+use Test::More tests => 62; > > use_ok('Koha::Patron'); > >diff --git a/t/db_dependent/Patron/Housebound.t b/t/db_dependent/Patron/Housebound.t >index c3ac52ff8ca..d7cca9dd5a8 100755 >--- a/t/db_dependent/Patron/Housebound.t >+++ b/t/db_dependent/Patron/Housebound.t >@@ -6,7 +6,8 @@ use C4::Circulation; > use Koha::Database; > use Koha::Patrons; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use_ok('Koha::Patron'); > >diff --git a/t/db_dependent/Patron/HouseboundProfiles.t b/t/db_dependent/Patron/HouseboundProfiles.t >index f7caec3b479..93ed2130d69 100755 >--- a/t/db_dependent/Patron/HouseboundProfiles.t >+++ b/t/db_dependent/Patron/HouseboundProfiles.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Database; > use Koha::Patron::HouseboundProfiles; >diff --git a/t/db_dependent/Patron/HouseboundRoles.t b/t/db_dependent/Patron/HouseboundRoles.t >index 6ed0f9a5a78..09495e3c154 100755 >--- a/t/db_dependent/Patron/HouseboundRoles.t >+++ b/t/db_dependent/Patron/HouseboundRoles.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > > use Koha::Database; > use Koha::Patron::HouseboundRoles; >diff --git a/t/db_dependent/Patron/HouseboundVisits.t b/t/db_dependent/Patron/HouseboundVisits.t >index a0e145834cd..c9749d83bb3 100755 >--- a/t/db_dependent/Patron/HouseboundVisits.t >+++ b/t/db_dependent/Patron/HouseboundVisits.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > > use Koha::Database; > use Koha::Patron::HouseboundVisits; >diff --git a/t/db_dependent/Patron/Messages.t b/t/db_dependent/Patron/Messages.t >index 8b28613f429..bc32e02edff 100755 >--- a/t/db_dependent/Patron/Messages.t >+++ b/t/db_dependent/Patron/Messages.t >@@ -15,7 +15,8 @@ > # with Koha; if not, see <http://www.gnu.org/licenses>. > # > use Modern::Perl; >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Koha::Patrons; > use Koha::Patron::Messages; >diff --git a/t/db_dependent/Patron/Messaging.t b/t/db_dependent/Patron/Messaging.t >index 2f02c3ef4be..cec596f0a59 100755 >--- a/t/db_dependent/Patron/Messaging.t >+++ b/t/db_dependent/Patron/Messaging.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use t::lib::TestBuilder; > use t::lib::Mocks; > use File::Spec; >diff --git a/t/db_dependent/Patron/Relationships.t b/t/db_dependent/Patron/Relationships.t >index 70d476f0f97..469884298b0 100755 >--- a/t/db_dependent/Patron/Relationships.t >+++ b/t/db_dependent/Patron/Relationships.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 54; >+use Test::NoWarnings; >+use Test::More tests => 55; > > use C4::Context; > use Koha::Database; >diff --git a/t/db_dependent/PatronLists.t b/t/db_dependent/PatronLists.t >index 52090b4b3ea..d3c4a68ec32 100755 >--- a/t/db_dependent/PatronLists.t >+++ b/t/db_dependent/PatronLists.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 12; >+use Test::NoWarnings; >+use Test::More tests => 13; > use t::lib::TestBuilder; > use t::lib::Mocks; > >diff --git a/t/db_dependent/Patroncards.t b/t/db_dependent/Patroncards.t >index 375b20b7873..f7e8fc09340 100755 >--- a/t/db_dependent/Patroncards.t >+++ b/t/db_dependent/Patroncards.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use C4::Patroncards::Layout; > use Koha::Database; >diff --git a/t/db_dependent/Patrons.t b/t/db_dependent/Patrons.t >index ad63834212f..e8ee2fd4f79 100755 >--- a/t/db_dependent/Patrons.t >+++ b/t/db_dependent/Patrons.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 18; >+use Test::NoWarnings; >+use Test::More tests => 19; > use Test::Warn; > > use C4::Context; >diff --git a/t/db_dependent/Prices.t b/t/db_dependent/Prices.t >index 5ce15e51363..1420b8406d8 100755 >--- a/t/db_dependent/Prices.t >+++ b/t/db_dependent/Prices.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::MockModule; > > use t::lib::Mocks; >diff --git a/t/db_dependent/Record.t b/t/db_dependent/Record.t >index 43d4c2b2040..487e42f6c35 100755 >--- a/t/db_dependent/Record.t >+++ b/t/db_dependent/Record.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 15; >+use Test::NoWarnings; >+use Test::More tests => 16; > use MARC::Record; > > use t::lib::Mocks; >diff --git a/t/db_dependent/Record/Record.t b/t/db_dependent/Record/Record.t >index 53122066a3e..8e04723e407 100755 >--- a/t/db_dependent/Record/Record.t >+++ b/t/db_dependent/Record/Record.t >@@ -25,8 +25,8 @@ use warnings; > use constant WHEREAMI => 't/db_dependent/Record/testrecords'; > > # specify the number of tests >-use Test::More tests => 21; #FIXME Commented out two failing tests >- >+use Test::NoWarnings; >+use Test::More tests => 22; #FIXME Commented out two failing tests > #use C4::Context; > use C4::Record qw( marc2marc marc2marcxml marc2dcxml changeEncoding ); > >diff --git a/t/db_dependent/Record/marcrecord2csv.t b/t/db_dependent/Record/marcrecord2csv.t >index 1dd1000e398..aeb06d9dc04 100755 >--- a/t/db_dependent/Record/marcrecord2csv.t >+++ b/t/db_dependent/Record/marcrecord2csv.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 13; >+use Test::NoWarnings; >+use Test::More tests => 14; > use Test::MockModule; > use MARC::Record; > use MARC::Field; >diff --git a/t/db_dependent/RecordProcessor_EmbedSeeFromHeadings.t b/t/db_dependent/RecordProcessor_EmbedSeeFromHeadings.t >index 37a62ea6db9..4797b46c6ac 100755 >--- a/t/db_dependent/RecordProcessor_EmbedSeeFromHeadings.t >+++ b/t/db_dependent/RecordProcessor_EmbedSeeFromHeadings.t >@@ -23,6 +23,7 @@ use File::Spec; > use MARC::Record; > use Koha::MetadataRecord::Authority; > >+use Test::NoWarnings; > use Test::More; > use Test::MockModule; > use Test::MockObject; >diff --git a/t/db_dependent/Reports.t b/t/db_dependent/Reports.t >index 421f12f1291..d81a4f97593 100755 >--- a/t/db_dependent/Reports.t >+++ b/t/db_dependent/Reports.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > BEGIN { > use_ok( 'C4::Reports', qw( GetDelimiterChoices ) ); >diff --git a/t/db_dependent/Reports/Guided.t b/t/db_dependent/Reports/Guided.t >index 1e4e34d93a4..15059edcc9a 100755 >--- a/t/db_dependent/Reports/Guided.t >+++ b/t/db_dependent/Reports/Guided.t >@@ -20,7 +20,8 @@ > > use Modern::Perl; > >-use Test::More tests => 13; >+use Test::NoWarnings; >+use Test::More tests => 14; > use Test::Warn; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Reserves/AutoUnsuspendReserves.t b/t/db_dependent/Reserves/AutoUnsuspendReserves.t >index 29595aa3a49..ce4b1b4c0bf 100755 >--- a/t/db_dependent/Reserves/AutoUnsuspendReserves.t >+++ b/t/db_dependent/Reserves/AutoUnsuspendReserves.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use t::lib::Mocks; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Reserves/GetReserveFee.t b/t/db_dependent/Reserves/GetReserveFee.t >index 6c1dfc97ccb..5bd241d900d 100755 >--- a/t/db_dependent/Reserves/GetReserveFee.t >+++ b/t/db_dependent/Reserves/GetReserveFee.t >@@ -21,7 +21,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::MockModule; > use t::lib::TestBuilder; > use t::lib::Mocks; >diff --git a/t/db_dependent/Reserves/MultiplePerRecord.t b/t/db_dependent/Reserves/MultiplePerRecord.t >index 6f751c5fb65..b3b3fb35772 100755 >--- a/t/db_dependent/Reserves/MultiplePerRecord.t >+++ b/t/db_dependent/Reserves/MultiplePerRecord.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 16; >+use Test::NoWarnings; >+use Test::More tests => 17; > use t::lib::TestBuilder; > use t::lib::Mocks; > >diff --git a/t/db_dependent/Reserves/ReserveSlip.t b/t/db_dependent/Reserves/ReserveSlip.t >index 342db33e6f8..a410e1adc63 100755 >--- a/t/db_dependent/Reserves/ReserveSlip.t >+++ b/t/db_dependent/Reserves/ReserveSlip.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use t::lib::TestBuilder; > > use C4::Reserves qw( ReserveSlip ); >diff --git a/t/db_dependent/RotatingCollections.t b/t/db_dependent/RotatingCollections.t >index c7b151d1a0b..23528de050b 100755 >--- a/t/db_dependent/RotatingCollections.t >+++ b/t/db_dependent/RotatingCollections.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 53; >+use Test::NoWarnings; >+use Test::More tests => 54; > use C4::Context; > use C4::RotatingCollections > qw( AddItemToCollection CreateCollection DeleteCollection GetCollection GetCollectionItemBranches GetCollections GetItemsInCollection RemoveItemFromCollection TransferCollection UpdateCollection isItemInAnyCollection isItemInThisCollection ); >diff --git a/t/db_dependent/SIP/ILS.t b/t/db_dependent/SIP/ILS.t >index 0e38cd4009f..a397cf19fbc 100755 >--- a/t/db_dependent/SIP/ILS.t >+++ b/t/db_dependent/SIP/ILS.t >@@ -20,7 +20,8 @@ > > use Modern::Perl; > >-use Test::More tests => 15; >+use Test::NoWarnings; >+use Test::More tests => 16; > > use t::lib::TestBuilder; > use t::lib::Mocks; >diff --git a/t/db_dependent/SIP/Message.t b/t/db_dependent/SIP/Message.t >index 598eaef2f2a..cacf0803cf3 100755 >--- a/t/db_dependent/SIP/Message.t >+++ b/t/db_dependent/SIP/Message.t >@@ -21,7 +21,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 22; >+use Test::NoWarnings; >+use Test::More tests => 23; > use Test::Exception; > use Test::MockObject; > use Test::MockModule; >diff --git a/t/db_dependent/SIP/Patron.t b/t/db_dependent/SIP/Patron.t >index 1267c834c73..c0db3624e14 100755 >--- a/t/db_dependent/SIP/Patron.t >+++ b/t/db_dependent/SIP/Patron.t >@@ -4,7 +4,8 @@ > # This needs to be extended! Your help is appreciated.. > > use Modern::Perl; >-use Test::More tests => 11; >+use Test::NoWarnings; >+use Test::More tests => 12; > > use t::lib::Mocks; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/SIP/SIPServer.t b/t/db_dependent/SIP/SIPServer.t >index eb476d16149..e1e7e40f71e 100755 >--- a/t/db_dependent/SIP/SIPServer.t >+++ b/t/db_dependent/SIP/SIPServer.t >@@ -20,7 +20,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Warn; > > my ( $mockConfig, $mockPrefork ); >diff --git a/t/db_dependent/SIP/Transaction.t b/t/db_dependent/SIP/Transaction.t >index d7c4d8f5ac2..74f0ba8419d 100755 >--- a/t/db_dependent/SIP/Transaction.t >+++ b/t/db_dependent/SIP/Transaction.t >@@ -4,7 +4,8 @@ > # Current state is very rudimentary. Please help to extend it! > > use Modern::Perl; >-use Test::More tests => 19; >+use Test::NoWarnings; >+use Test::More tests => 20; > use Test::Warn; > > use DateTime; >diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t >index 4896f79e673..5fa7ec17d61 100755 >--- a/t/db_dependent/Search.t >+++ b/t/db_dependent/Search.t >@@ -26,7 +26,8 @@ require C4::Context; > # work around spurious wide character warnings > use open ':std', ':encoding(utf8)'; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::MockModule; > use Test::Warn; > use t::lib::Mocks; >diff --git a/t/db_dependent/Search/History.t b/t/db_dependent/Search/History.t >index 860344ad05b..ceb5f49cc25 100755 >--- a/t/db_dependent/Search/History.t >+++ b/t/db_dependent/Search/History.t >@@ -11,7 +11,8 @@ use t::lib::TestBuilder; > use C4::Auth qw( get_session checkauth get_template_and_user ); > use Koha::Database; > >-use Test::More tests => 27; >+use Test::NoWarnings; >+use Test::More tests => 28; > use Test::Warn; > use URI::Escape; > use List::Util qw( shuffle ); >diff --git a/t/db_dependent/Serials.t b/t/db_dependent/Serials.t >index 5f9ea770ea7..9ddc4719dda 100755 >--- a/t/db_dependent/Serials.t >+++ b/t/db_dependent/Serials.t >@@ -18,7 +18,8 @@ use Koha::Acquisition::Booksellers; > use t::lib::Mocks; > use t::lib::TestBuilder; > use Test::MockModule; >-use Test::More tests => 63; >+use Test::NoWarnings; >+use Test::More tests => 64; > > BEGIN { > use_ok( >diff --git a/t/db_dependent/Serials/Claims.t b/t/db_dependent/Serials/Claims.t >index 47113a6372e..01f89a08934 100755 >--- a/t/db_dependent/Serials/Claims.t >+++ b/t/db_dependent/Serials/Claims.t >@@ -1,5 +1,6 @@ > use Modern::Perl; >-use Test::More tests => 17; >+use Test::NoWarnings; >+use Test::More tests => 18; > > use C4::Acquisition; > use C4::Budgets qw( AddBudgetPeriod AddBudget ); >diff --git a/t/db_dependent/Serials/Frequency.t b/t/db_dependent/Serials/Frequency.t >index 4d2925e9c9e..56aae261f3d 100755 >--- a/t/db_dependent/Serials/Frequency.t >+++ b/t/db_dependent/Serials/Frequency.t >@@ -2,7 +2,8 @@ > > use C4::Context; > use Koha::Database; >-use Test::More tests => 27; >+use Test::NoWarnings; >+use Test::More tests => 28; > use Modern::Perl; > > my $schema = Koha::Database->new->schema; >diff --git a/t/db_dependent/Serials/GetFictiveIssueNumber.t b/t/db_dependent/Serials/GetFictiveIssueNumber.t >index 3e3b3612205..f026c9d27f6 100755 >--- a/t/db_dependent/Serials/GetFictiveIssueNumber.t >+++ b/t/db_dependent/Serials/GetFictiveIssueNumber.t >@@ -3,7 +3,8 @@ > # This test deals with GetFictiveIssueNumber (from C4::Serials) > > use Modern::Perl; >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > > use Koha::Database; > use C4::Serials qw( GetFictiveIssueNumber GetSubscription ); >diff --git a/t/db_dependent/Serials/GetNextDate.t b/t/db_dependent/Serials/GetNextDate.t >index 6ba6d5f1ea3..3c25365bf92 100755 >--- a/t/db_dependent/Serials/GetNextDate.t >+++ b/t/db_dependent/Serials/GetNextDate.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 102; >+use Test::NoWarnings; >+use Test::More tests => 103; > > use Koha::Database; > use C4::Serials qw( GetNextDate ); >diff --git a/t/db_dependent/Serials/GetNextSeq.t b/t/db_dependent/Serials/GetNextSeq.t >index 098a9f1d541..fb439022172 100755 >--- a/t/db_dependent/Serials/GetNextSeq.t >+++ b/t/db_dependent/Serials/GetNextSeq.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use C4::Context; >-use Test::More tests => 32; >+use Test::NoWarnings; >+use Test::More tests => 33; > use Modern::Perl; > use Koha::Database; > >diff --git a/t/db_dependent/Serials/Numberpattern.t b/t/db_dependent/Serials/Numberpattern.t >index 95e23a0a631..06e23b28a1c 100755 >--- a/t/db_dependent/Serials/Numberpattern.t >+++ b/t/db_dependent/Serials/Numberpattern.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 95; >+use Test::NoWarnings; >+use Test::More tests => 96; > > use C4::Context; > use Koha::Database; >diff --git a/t/db_dependent/Serials/ReNewSubscription.t b/t/db_dependent/Serials/ReNewSubscription.t >index b7b9712b6b3..0524a04d51e 100755 >--- a/t/db_dependent/Serials/ReNewSubscription.t >+++ b/t/db_dependent/Serials/ReNewSubscription.t >@@ -22,7 +22,8 @@ > > use Modern::Perl; > >-use Test::More tests => 10; >+use Test::NoWarnings; >+use Test::More tests => 11; > use Test::MockModule; > use t::lib::TestBuilder; > use t::lib::Mocks; >diff --git a/t/db_dependent/Serials/updateClaim.t b/t/db_dependent/Serials/updateClaim.t >index bb50c448be5..093cee97287 100755 >--- a/t/db_dependent/Serials/updateClaim.t >+++ b/t/db_dependent/Serials/updateClaim.t >@@ -1,5 +1,6 @@ > use Modern::Perl; >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use C4::Serials; > use Koha::Database; >diff --git a/t/db_dependent/Serials_2.t b/t/db_dependent/Serials_2.t >index eb0e7ba1de5..20bae15addf 100755 >--- a/t/db_dependent/Serials_2.t >+++ b/t/db_dependent/Serials_2.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > use Modern::Perl; > >-use Test::More tests => 50; >+use Test::NoWarnings; >+use Test::More tests => 51; > > use MARC::Record; > >diff --git a/t/db_dependent/Service.t b/t/db_dependent/Service.t >index 04f5e600b45..865248b348b 100755 >--- a/t/db_dependent/Service.t >+++ b/t/db_dependent/Service.t >@@ -6,7 +6,8 @@ > use strict; > use warnings; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > BEGIN { > use_ok('C4::Service'); >diff --git a/t/db_dependent/ShelfBrowser.t b/t/db_dependent/ShelfBrowser.t >index 7716c1ef4f0..6cb3e8cac45 100755 >--- a/t/db_dependent/ShelfBrowser.t >+++ b/t/db_dependent/ShelfBrowser.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl > > use Modern::Perl; >-use Test::More tests => 74; >+use Test::NoWarnings; >+use Test::More tests => 75; > use List::Util qw( shuffle ); > use MARC::Field; > use MARC::Record; >diff --git a/t/db_dependent/Sitemapper.t b/t/db_dependent/Sitemapper.t >index c1ea2536a70..c33f0c4dec2 100755 >--- a/t/db_dependent/Sitemapper.t >+++ b/t/db_dependent/Sitemapper.t >@@ -18,7 +18,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Carp qw/croak/; > use File::Basename; > use File::Path; >diff --git a/t/db_dependent/SocialData.t b/t/db_dependent/SocialData.t >index d5e534834d3..f49c9c9c31a 100755 >--- a/t/db_dependent/SocialData.t >+++ b/t/db_dependent/SocialData.t >@@ -18,7 +18,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/StockRotationItems.t b/t/db_dependent/StockRotationItems.t >index 90abf8bfc96..a115b98d453 100755 >--- a/t/db_dependent/StockRotationItems.t >+++ b/t/db_dependent/StockRotationItems.t >@@ -29,7 +29,8 @@ use Test::Warn; > use t::lib::TestBuilder; > use t::lib::Mocks; > >-use Test::More tests => 9; >+use Test::NoWarnings; >+use Test::More tests => 10; > > my $schema = Koha::Database->new->schema; > >diff --git a/t/db_dependent/StockRotationRotas.t b/t/db_dependent/StockRotationRotas.t >index 8e6cc006236..809c14d7ba9 100755 >--- a/t/db_dependent/StockRotationRotas.t >+++ b/t/db_dependent/StockRotationRotas.t >@@ -22,7 +22,8 @@ use Modern::Perl; > use Koha::Database; > use t::lib::TestBuilder; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > > my $schema = Koha::Database->new->schema; > >diff --git a/t/db_dependent/StockRotationStages.t b/t/db_dependent/StockRotationStages.t >index 0ebca2e75c8..4547e035fe1 100755 >--- a/t/db_dependent/StockRotationStages.t >+++ b/t/db_dependent/StockRotationStages.t >@@ -22,7 +22,8 @@ use Modern::Perl; > use Koha::Database; > use t::lib::TestBuilder; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > > my $schema = Koha::Database->new->schema; > >diff --git a/t/db_dependent/SuggestionEngine_ExplodedTerms.t b/t/db_dependent/SuggestionEngine_ExplodedTerms.t >index b9e0493ac56..04e59c1b74b 100755 >--- a/t/db_dependent/SuggestionEngine_ExplodedTerms.t >+++ b/t/db_dependent/SuggestionEngine_ExplodedTerms.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > > use Koha::SuggestionEngine; > >diff --git a/t/db_dependent/Suggestions.t b/t/db_dependent/Suggestions.t >index 767848cb1f9..45e5343741a 100755 >--- a/t/db_dependent/Suggestions.t >+++ b/t/db_dependent/Suggestions.t >@@ -18,7 +18,8 @@ > use Modern::Perl; > > use DateTime::Duration; >-use Test::More tests => 94; >+use Test::NoWarnings; >+use Test::More tests => 95; > use Test::Warn; > > use t::lib::Mocks; >diff --git a/t/db_dependent/TablesSettings.t b/t/db_dependent/TablesSettings.t >index 3d4f14074b1..f50295a17b8 100755 >--- a/t/db_dependent/TablesSettings.t >+++ b/t/db_dependent/TablesSettings.t >@@ -1,7 +1,8 @@ > #!/usr/bin/perl; > > use Modern::Perl; >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::MockModule; > > use C4::Context; >diff --git a/t/db_dependent/Tags.t b/t/db_dependent/Tags.t >index c6234fad8db..d1c71918956 100755 >--- a/t/db_dependent/Tags.t >+++ b/t/db_dependent/Tags.t >@@ -19,7 +19,8 @@ use Modern::Perl; > > use utf8; > >-use Test::More tests => 34; >+use Test::NoWarnings; >+use Test::More tests => 35; > > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Template/Plugin/AdditionalContents.t b/t/db_dependent/Template/Plugin/AdditionalContents.t >index 229ef7d95b7..4c614f45e0f 100755 >--- a/t/db_dependent/Template/Plugin/AdditionalContents.t >+++ b/t/db_dependent/Template/Plugin/AdditionalContents.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use C4::Context; > use Koha::Caches; >diff --git a/t/db_dependent/Template/Plugin/AuthorisedValues.t b/t/db_dependent/Template/Plugin/AuthorisedValues.t >index 0a6aa66a6e0..efae49f7a82 100755 >--- a/t/db_dependent/Template/Plugin/AuthorisedValues.t >+++ b/t/db_dependent/Template/Plugin/AuthorisedValues.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use C4::Context; > use Koha::Caches; >diff --git a/t/db_dependent/Template/Plugin/Branches.t b/t/db_dependent/Template/Plugin/Branches.t >index 75d474e0e03..d09e3fd2c3a 100755 >--- a/t/db_dependent/Template/Plugin/Branches.t >+++ b/t/db_dependent/Template/Plugin/Branches.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::MockModule; > > use C4::Context; >diff --git a/t/db_dependent/Template/Plugin/Categories.t b/t/db_dependent/Template/Plugin/Categories.t >index 2a3e4899514..4afbf02dcb7 100755 >--- a/t/db_dependent/Template/Plugin/Categories.t >+++ b/t/db_dependent/Template/Plugin/Categories.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > use t::lib::Mocks; > use t::lib::TestBuilder; > >diff --git a/t/db_dependent/Template/Plugin/CirculationRules.t b/t/db_dependent/Template/Plugin/CirculationRules.t >index e531083be6e..eceb8d0e084 100755 >--- a/t/db_dependent/Template/Plugin/CirculationRules.t >+++ b/t/db_dependent/Template/Plugin/CirculationRules.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::MockModule; > > use Koha::CirculationRules; >diff --git a/t/db_dependent/Template/Plugin/Frameworks.t b/t/db_dependent/Template/Plugin/Frameworks.t >index b43b677a29d..d91dc57e58e 100755 >--- a/t/db_dependent/Template/Plugin/Frameworks.t >+++ b/t/db_dependent/Template/Plugin/Frameworks.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::MockModule; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Template/Plugin/KohaDates.t b/t/db_dependent/Template/Plugin/KohaDates.t >index 2978ff0f0a0..e4c0dd43cf3 100755 >--- a/t/db_dependent/Template/Plugin/KohaDates.t >+++ b/t/db_dependent/Template/Plugin/KohaDates.t >@@ -6,7 +6,8 @@ use C4::Context; > use Koha::DateUtils qw( dt_from_string output_pref ); > > use Test::MockModule; >-use Test::More tests => 9; >+use Test::NoWarnings; >+use Test::More tests => 10; > use t::lib::Mocks; > > BEGIN { >diff --git a/t/db_dependent/Template/Plugin/KohaTimes.t b/t/db_dependent/Template/Plugin/KohaTimes.t >index 4a35f018f8f..f98624b1a9e 100755 >--- a/t/db_dependent/Template/Plugin/KohaTimes.t >+++ b/t/db_dependent/Template/Plugin/KohaTimes.t >@@ -5,7 +5,8 @@ use Modern::Perl; > use C4::Context; > > use Test::MockModule; >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use t::lib::Mocks; > > BEGIN { >diff --git a/t/db_dependent/Template/Plugin/NoticeTemplates.t b/t/db_dependent/Template/Plugin/NoticeTemplates.t >index 2f26e820763..8bbb96b7398 100755 >--- a/t/db_dependent/Template/Plugin/NoticeTemplates.t >+++ b/t/db_dependent/Template/Plugin/NoticeTemplates.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use Koha::Database; > use Koha::Notice::Templates; >diff --git a/t/db_dependent/Template/Plugin/To.t b/t/db_dependent/Template/Plugin/To.t >index 033891f8169..b84cf0b73b2 100755 >--- a/t/db_dependent/Template/Plugin/To.t >+++ b/t/db_dependent/Template/Plugin/To.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use t::lib::TestBuilder; > > use Koha::Template::Plugin::To; >diff --git a/t/db_dependent/Templates.t b/t/db_dependent/Templates.t >index 2c38b45e3d8..f4a97091aef 100755 >--- a/t/db_dependent/Templates.t >+++ b/t/db_dependent/Templates.t >@@ -19,7 +19,8 @@ use Modern::Perl; > > use CGI; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Deep; > use Test::MockModule; > use Test::Warn; >diff --git a/t/db_dependent/TestBuilder.t b/t/db_dependent/TestBuilder.t >index cf2d85caf8d..121849fd943 100755 >--- a/t/db_dependent/TestBuilder.t >+++ b/t/db_dependent/TestBuilder.t >@@ -21,7 +21,8 @@ use Modern::Perl; > > use utf8; > >-use Test::More tests => 16; >+use Test::NoWarnings; >+use Test::More tests => 17; > use Test::Warn; > use Try::Tiny; > use File::Basename qw(dirname); >diff --git a/t/db_dependent/Upload.t b/t/db_dependent/Upload.t >index 2b57781764d..469ff1200b3 100755 >--- a/t/db_dependent/Upload.t >+++ b/t/db_dependent/Upload.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > use File::Temp qw/ tempdir /; >-use Test::More tests => 13; >+use Test::NoWarnings; >+use Test::More tests => 14; > use Test::Warn; > use Try::Tiny; > >diff --git a/t/db_dependent/UsageStats.t b/t/db_dependent/UsageStats.t >index 7604937acd2..c0d5d1b9050 100755 >--- a/t/db_dependent/UsageStats.t >+++ b/t/db_dependent/UsageStats.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use t::lib::Mocks qw(mock_preference); > use t::lib::TestBuilder; >diff --git a/t/db_dependent/Utils/Datatables_Virtualshelves.t b/t/db_dependent/Utils/Datatables_Virtualshelves.t >index e1f054e723b..4a5f1fe2669 100755 >--- a/t/db_dependent/Utils/Datatables_Virtualshelves.t >+++ b/t/db_dependent/Utils/Datatables_Virtualshelves.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 13; >+use Test::NoWarnings; >+use Test::More tests => 14; > > use C4::Biblio qw( AddBiblio ); > use C4::Context; >diff --git a/t/db_dependent/Virtualshelves.t b/t/db_dependent/Virtualshelves.t >index 6ef580fbadf..1df952df228 100755 >--- a/t/db_dependent/Virtualshelves.t >+++ b/t/db_dependent/Virtualshelves.t >@@ -16,7 +16,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 9; >+use Test::NoWarnings; >+use Test::More tests => 10; > use Test::Exception; > > use DateTime::Duration; >diff --git a/t/db_dependent/XSLT.t b/t/db_dependent/XSLT.t >index a7ce290d642..1f58874f9e0 100755 >--- a/t/db_dependent/XSLT.t >+++ b/t/db_dependent/XSLT.t >@@ -20,7 +20,8 @@ use Modern::Perl; > use File::Temp; > use File::Path qw/make_path/; > use MARC::Record; >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::Warn; > use t::lib::TestBuilder; > use t::lib::Mocks; >diff --git a/t/db_dependent/api/v1/acquisitions_baskets.t b/t/db_dependent/api/v1/acquisitions_baskets.t >index 82a9fe3ab18..fa4c3e468f0 100755 >--- a/t/db_dependent/api/v1/acquisitions_baskets.t >+++ b/t/db_dependent/api/v1/acquisitions_baskets.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/acquisitions_funds.t b/t/db_dependent/api/v1/acquisitions_funds.t >index c1824c4fee3..b05a0747ceb 100755 >--- a/t/db_dependent/api/v1/acquisitions_funds.t >+++ b/t/db_dependent/api/v1/acquisitions_funds.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 14; >+use Test::NoWarnings; >+use Test::More tests => 15; > use Test::Mojo; > use t::lib::TestBuilder; > use t::lib::Mocks; >diff --git a/t/db_dependent/api/v1/acquisitions_orders.t b/t/db_dependent/api/v1/acquisitions_orders.t >index 0d7afa38c77..9ecc657bb07 100755 >--- a/t/db_dependent/api/v1/acquisitions_orders.t >+++ b/t/db_dependent/api/v1/acquisitions_orders.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > use Test::Warn; > >diff --git a/t/db_dependent/api/v1/acquisitions_vendor_issues.t b/t/db_dependent/api/v1/acquisitions_vendor_issues.t >index 5ed470daaf4..8166a7385f1 100755 >--- a/t/db_dependent/api/v1/acquisitions_vendor_issues.t >+++ b/t/db_dependent/api/v1/acquisitions_vendor_issues.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/acquisitions_vendors.t b/t/db_dependent/api/v1/acquisitions_vendors.t >index d9d6951924a..0320f7ff999 100755 >--- a/t/db_dependent/api/v1/acquisitions_vendors.t >+++ b/t/db_dependent/api/v1/acquisitions_vendors.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > > use Test::Mojo; > >diff --git a/t/db_dependent/api/v1/advanced_editor_macros.t b/t/db_dependent/api/v1/advanced_editor_macros.t >index e6fe8adccd2..30f3bb1f69a 100755 >--- a/t/db_dependent/api/v1/advanced_editor_macros.t >+++ b/t/db_dependent/api/v1/advanced_editor_macros.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > use Test::Warn; > >diff --git a/t/db_dependent/api/v1/article_requests.t b/t/db_dependent/api/v1/article_requests.t >index 55208a91ac0..b5728d5cdc9 100755 >--- a/t/db_dependent/api/v1/article_requests.t >+++ b/t/db_dependent/api/v1/article_requests.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Mojo; > > use t::lib::Mocks; >diff --git a/t/db_dependent/api/v1/auth.t b/t/db_dependent/api/v1/auth.t >index a3bf90bce5f..68bfe20d45c 100755 >--- a/t/db_dependent/api/v1/auth.t >+++ b/t/db_dependent/api/v1/auth.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::Mojo; > use Test::Warn; > >diff --git a/t/db_dependent/api/v1/auth_authenticate_api_request.t b/t/db_dependent/api/v1/auth_authenticate_api_request.t >index e5c4d9c7284..c314561fb92 100755 >--- a/t/db_dependent/api/v1/auth_authenticate_api_request.t >+++ b/t/db_dependent/api/v1/auth_authenticate_api_request.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use Test::Mojo; > > use Module::Load::Conditional qw(can_load); >diff --git a/t/db_dependent/api/v1/auth_basic.t b/t/db_dependent/api/v1/auth_basic.t >index 21e0083aad4..4d23949b4f6 100755 >--- a/t/db_dependent/api/v1/auth_basic.t >+++ b/t/db_dependent/api/v1/auth_basic.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/authorised_values.t b/t/db_dependent/api/v1/authorised_values.t >index f3d66e678a6..114352248d9 100755 >--- a/t/db_dependent/api/v1/authorised_values.t >+++ b/t/db_dependent/api/v1/authorised_values.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/authorities.t b/t/db_dependent/api/v1/authorities.t >index a7200fb020b..0ab637cabf1 100755 >--- a/t/db_dependent/api/v1/authorities.t >+++ b/t/db_dependent/api/v1/authorities.t >@@ -20,7 +20,8 @@ use Modern::Perl; > use utf8; > use Encode; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::MockModule; > use Test::Mojo; > use Test::Warn; >diff --git a/t/db_dependent/api/v1/bookings.t b/t/db_dependent/api/v1/bookings.t >index 2233461b736..7ca90ee042c 100755 >--- a/t/db_dependent/api/v1/bookings.t >+++ b/t/db_dependent/api/v1/bookings.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use Test::Mojo; > use Test::Warn; > >diff --git a/t/db_dependent/api/v1/cashups.t b/t/db_dependent/api/v1/cashups.t >index c5ab5cff701..7dd4c385d24 100755 >--- a/t/db_dependent/api/v1/cashups.t >+++ b/t/db_dependent/api/v1/cashups.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/checkouts.t b/t/db_dependent/api/v1/checkouts.t >index 9e20839c8fe..a8c8851b76f 100755 >--- a/t/db_dependent/api/v1/checkouts.t >+++ b/t/db_dependent/api/v1/checkouts.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 108; >+use Test::NoWarnings; >+use Test::More tests => 109; > use Test::MockModule; > use Test::Mojo; > use t::lib::Mocks; >diff --git a/t/db_dependent/api/v1/circulation_rules.t b/t/db_dependent/api/v1/circulation_rules.t >index 8be6e47fa4d..da350cc44f4 100755 >--- a/t/db_dependent/api/v1/circulation_rules.t >+++ b/t/db_dependent/api/v1/circulation_rules.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/cities.t b/t/db_dependent/api/v1/cities.t >index 7791aefcb91..dad1ad57503 100755 >--- a/t/db_dependent/api/v1/cities.t >+++ b/t/db_dependent/api/v1/cities.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/clubs_holds.t b/t/db_dependent/api/v1/clubs_holds.t >index 7684c5d2bb8..700fd4a93f4 100755 >--- a/t/db_dependent/api/v1/clubs_holds.t >+++ b/t/db_dependent/api/v1/clubs_holds.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Mojo; > use Test::Warn; > >diff --git a/t/db_dependent/api/v1/deleted_biblios.t b/t/db_dependent/api/v1/deleted_biblios.t >index 625e64fac48..26d43cdf606 100755 >--- a/t/db_dependent/api/v1/deleted_biblios.t >+++ b/t/db_dependent/api/v1/deleted_biblios.t >@@ -20,7 +20,8 @@ use Modern::Perl; > use utf8; > use Encode; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::MockModule; > use Test::Mojo; > use Test::Warn; >diff --git a/t/db_dependent/api/v1/edifact_files.t b/t/db_dependent/api/v1/edifact_files.t >index fc0c38fa3c0..edc4b80b74f 100755 >--- a/t/db_dependent/api/v1/edifact_files.t >+++ b/t/db_dependent/api/v1/edifact_files.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/erm_agreements.t b/t/db_dependent/api/v1/erm_agreements.t >index b0f8705c169..7ffab44e424 100755 >--- a/t/db_dependent/api/v1/erm_agreements.t >+++ b/t/db_dependent/api/v1/erm_agreements.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/erm_counter_files.t b/t/db_dependent/api/v1/erm_counter_files.t >index 7a627aee65c..ed6d8f3bfd2 100755 >--- a/t/db_dependent/api/v1/erm_counter_files.t >+++ b/t/db_dependent/api/v1/erm_counter_files.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/erm_counter_logs.t b/t/db_dependent/api/v1/erm_counter_logs.t >index a5968543c65..ea552b09f8b 100755 >--- a/t/db_dependent/api/v1/erm_counter_logs.t >+++ b/t/db_dependent/api/v1/erm_counter_logs.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/erm_counter_registries.t b/t/db_dependent/api/v1/erm_counter_registries.t >index ed7c030ae69..aa76e3e3de3 100755 >--- a/t/db_dependent/api/v1/erm_counter_registries.t >+++ b/t/db_dependent/api/v1/erm_counter_registries.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/erm_custom_reports.t b/t/db_dependent/api/v1/erm_custom_reports.t >index 18f400a1efa..0e3b7635552 100755 >--- a/t/db_dependent/api/v1/erm_custom_reports.t >+++ b/t/db_dependent/api/v1/erm_custom_reports.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/erm_documents.t b/t/db_dependent/api/v1/erm_documents.t >index 442b2d88127..77e83773e6a 100755 >--- a/t/db_dependent/api/v1/erm_documents.t >+++ b/t/db_dependent/api/v1/erm_documents.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/erm_eholdings_packages.t b/t/db_dependent/api/v1/erm_eholdings_packages.t >index 2cd53ea5e99..81efb9c026e 100755 >--- a/t/db_dependent/api/v1/erm_eholdings_packages.t >+++ b/t/db_dependent/api/v1/erm_eholdings_packages.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/erm_eholdings_resources.t b/t/db_dependent/api/v1/erm_eholdings_resources.t >index 01e73f98044..16c7902f639 100755 >--- a/t/db_dependent/api/v1/erm_eholdings_resources.t >+++ b/t/db_dependent/api/v1/erm_eholdings_resources.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/erm_eholdings_titles.t b/t/db_dependent/api/v1/erm_eholdings_titles.t >index 23e03d1914b..a7f20413638 100755 >--- a/t/db_dependent/api/v1/erm_eholdings_titles.t >+++ b/t/db_dependent/api/v1/erm_eholdings_titles.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/erm_licenses.t b/t/db_dependent/api/v1/erm_licenses.t >index eae6bff8eb3..4596335bc81 100755 >--- a/t/db_dependent/api/v1/erm_licenses.t >+++ b/t/db_dependent/api/v1/erm_licenses.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/erm_sushi_services.t b/t/db_dependent/api/v1/erm_sushi_services.t >index 7714e85c39f..f6d6e6df0a4 100755 >--- a/t/db_dependent/api/v1/erm_sushi_services.t >+++ b/t/db_dependent/api/v1/erm_sushi_services.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > use Test::Warn; > >diff --git a/t/db_dependent/api/v1/erm_usage_data_providers.t b/t/db_dependent/api/v1/erm_usage_data_providers.t >index 24edcb21375..dec764a451e 100755 >--- a/t/db_dependent/api/v1/erm_usage_data_providers.t >+++ b/t/db_dependent/api/v1/erm_usage_data_providers.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/erm_usage_titles.t b/t/db_dependent/api/v1/erm_usage_titles.t >index 09572ceab79..11397e9f7b3 100755 >--- a/t/db_dependent/api/v1/erm_usage_titles.t >+++ b/t/db_dependent/api/v1/erm_usage_titles.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/erm_users.t b/t/db_dependent/api/v1/erm_users.t >index 08454130ba3..4ba2cbfa252 100755 >--- a/t/db_dependent/api/v1/erm_users.t >+++ b/t/db_dependent/api/v1/erm_users.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/extended_attribute_types.t b/t/db_dependent/api/v1/extended_attribute_types.t >index 6bcc8bd42a4..fbf0c466355 100755 >--- a/t/db_dependent/api/v1/extended_attribute_types.t >+++ b/t/db_dependent/api/v1/extended_attribute_types.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/idp.t b/t/db_dependent/api/v1/idp.t >index 262337be87e..58fc4f9cccf 100755 >--- a/t/db_dependent/api/v1/idp.t >+++ b/t/db_dependent/api/v1/idp.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Mojo; > use Test::Warn; > use Mojo::JWT; >diff --git a/t/db_dependent/api/v1/ill_backends.t b/t/db_dependent/api/v1/ill_backends.t >index 8d7d2307cd4..4017c435312 100755 >--- a/t/db_dependent/api/v1/ill_backends.t >+++ b/t/db_dependent/api/v1/ill_backends.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Test::MockModule; > use Test::MockObject; >diff --git a/t/db_dependent/api/v1/ill_batches.t b/t/db_dependent/api/v1/ill_batches.t >index ed744a80acf..a164fb59a84 100755 >--- a/t/db_dependent/api/v1/ill_batches.t >+++ b/t/db_dependent/api/v1/ill_batches.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/ill_batchstatuses.t b/t/db_dependent/api/v1/ill_batchstatuses.t >index 652511476cf..9e33b37ba49 100755 >--- a/t/db_dependent/api/v1/ill_batchstatuses.t >+++ b/t/db_dependent/api/v1/ill_batchstatuses.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/ill_requests.t b/t/db_dependent/api/v1/ill_requests.t >index 838aec1cdf6..be961d8a874 100755 >--- a/t/db_dependent/api/v1/ill_requests.t >+++ b/t/db_dependent/api/v1/ill_requests.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use Test::MockModule; > use Test::MockObject; >diff --git a/t/db_dependent/api/v1/import_batch_profiles.t b/t/db_dependent/api/v1/import_batch_profiles.t >index a4d19f215c9..6a39dff5082 100755 >--- a/t/db_dependent/api/v1/import_batch_profiles.t >+++ b/t/db_dependent/api/v1/import_batch_profiles.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > use t::lib::TestBuilder; > use t::lib::Mocks; >diff --git a/t/db_dependent/api/v1/import_record_matches.t b/t/db_dependent/api/v1/import_record_matches.t >index 0fe47f1420a..e8b385809b7 100755 >--- a/t/db_dependent/api/v1/import_record_matches.t >+++ b/t/db_dependent/api/v1/import_record_matches.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/item_groups.t b/t/db_dependent/api/v1/item_groups.t >index 95c676a96f0..f5b4a15c975 100755 >--- a/t/db_dependent/api/v1/item_groups.t >+++ b/t/db_dependent/api/v1/item_groups.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > use Test::Warn; > >diff --git a/t/db_dependent/api/v1/item_types.t b/t/db_dependent/api/v1/item_types.t >index 3196bbbb3bc..9d2786ef7c2 100755 >--- a/t/db_dependent/api/v1/item_types.t >+++ b/t/db_dependent/api/v1/item_types.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/items.t b/t/db_dependent/api/v1/items.t >index f358de297e3..5656c1a00be 100755 >--- a/t/db_dependent/api/v1/items.t >+++ b/t/db_dependent/api/v1/items.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::MockModule; > use Test::Mojo; > use Test::Warn; >diff --git a/t/db_dependent/api/v1/items/bundled_items.t b/t/db_dependent/api/v1/items/bundled_items.t >index fea46e265ff..aa582b3173c 100755 >--- a/t/db_dependent/api/v1/items/bundled_items.t >+++ b/t/db_dependent/api/v1/items/bundled_items.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::MockModule; > use Test::Mojo; > >diff --git a/t/db_dependent/api/v1/jobs.t b/t/db_dependent/api/v1/jobs.t >index 2df09e67b46..1037e9dbcb6 100755 >--- a/t/db_dependent/api/v1/jobs.t >+++ b/t/db_dependent/api/v1/jobs.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 31; >+use Test::NoWarnings; >+use Test::More tests => 32; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/libraries.t b/t/db_dependent/api/v1/libraries.t >index 9aa00fa6e3f..06cfb7d6220 100755 >--- a/t/db_dependent/api/v1/libraries.t >+++ b/t/db_dependent/api/v1/libraries.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > use Test::Mojo; > use Test::Warn; > >diff --git a/t/db_dependent/api/v1/oauth.t b/t/db_dependent/api/v1/oauth.t >index bc6734f69ff..22fa3752a6e 100755 >--- a/t/db_dependent/api/v1/oauth.t >+++ b/t/db_dependent/api/v1/oauth.t >@@ -17,6 +17,7 @@ > > use Modern::Perl; > >+use Test::NoWarnings; > use Test::More; > use Test::MockModule; > use Test::Mojo; >diff --git a/t/db_dependent/api/v1/pagination.t b/t/db_dependent/api/v1/pagination.t >index fa9702fc3b4..acf9a76d15e 100755 >--- a/t/db_dependent/api/v1/pagination.t >+++ b/t/db_dependent/api/v1/pagination.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/password_validation.t b/t/db_dependent/api/v1/password_validation.t >index f0c6035ad41..74b025d96db 100755 >--- a/t/db_dependent/api/v1/password_validation.t >+++ b/t/db_dependent/api/v1/password_validation.t >@@ -18,7 +18,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/patron_categories.t b/t/db_dependent/api/v1/patron_categories.t >index ecad6041e7c..e720320c722 100755 >--- a/t/db_dependent/api/v1/patron_categories.t >+++ b/t/db_dependent/api/v1/patron_categories.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/patrons.t b/t/db_dependent/api/v1/patrons.t >index 22b8cc5cc15..00e6e8937d7 100755 >--- a/t/db_dependent/api/v1/patrons.t >+++ b/t/db_dependent/api/v1/patrons.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > use Test::MockModule; > use Test::Mojo; > use Test::Warn; >diff --git a/t/db_dependent/api/v1/patrons_accounts.t b/t/db_dependent/api/v1/patrons_accounts.t >index c8d3fd4b57a..316d99774f7 100755 >--- a/t/db_dependent/api/v1/patrons_accounts.t >+++ b/t/db_dependent/api/v1/patrons_accounts.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > > use Test::Mojo; > >diff --git a/t/db_dependent/api/v1/patrons_checkouts.t b/t/db_dependent/api/v1/patrons_checkouts.t >index 05a78787dac..460055c4903 100755 >--- a/t/db_dependent/api/v1/patrons_checkouts.t >+++ b/t/db_dependent/api/v1/patrons_checkouts.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::MockModule; > use Test::Mojo; > >diff --git a/t/db_dependent/api/v1/patrons_extended_attributes.t b/t/db_dependent/api/v1/patrons_extended_attributes.t >index da7eeed122f..8306760ff93 100755 >--- a/t/db_dependent/api/v1/patrons_extended_attributes.t >+++ b/t/db_dependent/api/v1/patrons_extended_attributes.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/patrons_holds.t b/t/db_dependent/api/v1/patrons_holds.t >index e4f7e981741..515105f4141 100755 >--- a/t/db_dependent/api/v1/patrons_holds.t >+++ b/t/db_dependent/api/v1/patrons_holds.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::MockModule; > use Test::Mojo; > >diff --git a/t/db_dependent/api/v1/patrons_password.t b/t/db_dependent/api/v1/patrons_password.t >index 1551a361508..fd0852afb34 100755 >--- a/t/db_dependent/api/v1/patrons_password.t >+++ b/t/db_dependent/api/v1/patrons_password.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use Test::Mojo; > >diff --git a/t/db_dependent/api/v1/patrons_password_expiration.t b/t/db_dependent/api/v1/patrons_password_expiration.t >index fc4b0eb90be..bd53a0918f0 100755 >--- a/t/db_dependent/api/v1/patrons_password_expiration.t >+++ b/t/db_dependent/api/v1/patrons_password_expiration.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > > use Test::Mojo; > >diff --git a/t/db_dependent/api/v1/patrons_recalls.t b/t/db_dependent/api/v1/patrons_recalls.t >index 196401bd7ab..cf8f6c5892a 100755 >--- a/t/db_dependent/api/v1/patrons_recalls.t >+++ b/t/db_dependent/api/v1/patrons_recalls.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/preservation_Processings.t b/t/db_dependent/api/v1/preservation_Processings.t >index 2b922b8058b..577e9fe0299 100755 >--- a/t/db_dependent/api/v1/preservation_Processings.t >+++ b/t/db_dependent/api/v1/preservation_Processings.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/preservation_Trains.t b/t/db_dependent/api/v1/preservation_Trains.t >index 4f055fcf9d3..dd7a9fbbd5c 100755 >--- a/t/db_dependent/api/v1/preservation_Trains.t >+++ b/t/db_dependent/api/v1/preservation_Trains.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use Test::Mojo; > use Test::Warn; > >diff --git a/t/db_dependent/api/v1/preservation_WaitingList.t b/t/db_dependent/api/v1/preservation_WaitingList.t >index c29c0d7f1f4..1aea653a194 100755 >--- a/t/db_dependent/api/v1/preservation_WaitingList.t >+++ b/t/db_dependent/api/v1/preservation_WaitingList.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > use Test::Warn; > >diff --git a/t/db_dependent/api/v1/provider.t b/t/db_dependent/api/v1/provider.t >index d505fc99d94..a1508fc88c9 100755 >--- a/t/db_dependent/api/v1/provider.t >+++ b/t/db_dependent/api/v1/provider.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > use t::lib::TestBuilder; > use t::lib::Mocks; >diff --git a/t/db_dependent/api/v1/public/lists.t b/t/db_dependent/api/v1/public/lists.t >index 5a3653fd3c8..2554b9f902d 100755 >--- a/t/db_dependent/api/v1/public/lists.t >+++ b/t/db_dependent/api/v1/public/lists.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > > use JSON qw(encode_json); >diff --git a/t/db_dependent/api/v1/query.t b/t/db_dependent/api/v1/query.t >index 100f6b427f8..d088995dd73 100755 >--- a/t/db_dependent/api/v1/query.t >+++ b/t/db_dependent/api/v1/query.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/record_sources.t b/t/db_dependent/api/v1/record_sources.t >index edf11ee7090..c88819d60fa 100755 >--- a/t/db_dependent/api/v1/record_sources.t >+++ b/t/db_dependent/api/v1/record_sources.t >@@ -19,7 +19,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/responses.t b/t/db_dependent/api/v1/responses.t >index 177698e1a78..15af0272d2f 100755 >--- a/t/db_dependent/api/v1/responses.t >+++ b/t/db_dependent/api/v1/responses.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > use Test::MockModule; > use Test::Mojo; > >diff --git a/t/db_dependent/api/v1/return_claims.t b/t/db_dependent/api/v1/return_claims.t >index 72646dad71c..82ba69faa5e 100755 >--- a/t/db_dependent/api/v1/return_claims.t >+++ b/t/db_dependent/api/v1/return_claims.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use Test::Mojo; > use Test::Warn; >diff --git a/t/db_dependent/api/v1/search_filters.t b/t/db_dependent/api/v1/search_filters.t >index 6a7c5921094..0acb640d1be 100755 >--- a/t/db_dependent/api/v1/search_filters.t >+++ b/t/db_dependent/api/v1/search_filters.t >@@ -16,7 +16,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > use Test::Warn; > >diff --git a/t/db_dependent/api/v1/smtp_servers.t b/t/db_dependent/api/v1/smtp_servers.t >index b095ef6fbdc..1744afffa88 100755 >--- a/t/db_dependent/api/v1/smtp_servers.t >+++ b/t/db_dependent/api/v1/smtp_servers.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/stockrotation_rotas.t b/t/db_dependent/api/v1/stockrotation_rotas.t >index 017380c843b..8aa4796929c 100755 >--- a/t/db_dependent/api/v1/stockrotation_rotas.t >+++ b/t/db_dependent/api/v1/stockrotation_rotas.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > > use Mojo::JSON qw(encode_json); >diff --git a/t/db_dependent/api/v1/stockrotationstage.t b/t/db_dependent/api/v1/stockrotationstage.t >index 5b5e8eedaff..e6a45ba94ea 100755 >--- a/t/db_dependent/api/v1/stockrotationstage.t >+++ b/t/db_dependent/api/v1/stockrotationstage.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/suggestions.t b/t/db_dependent/api/v1/suggestions.t >index c373bf87821..9155a759c8b 100755 >--- a/t/db_dependent/api/v1/suggestions.t >+++ b/t/db_dependent/api/v1/suggestions.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 6; >+use Test::NoWarnings; >+use Test::More tests => 7; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/ticket_updates.t b/t/db_dependent/api/v1/ticket_updates.t >index 58cdfac7af3..c5755558239 100755 >--- a/t/db_dependent/api/v1/ticket_updates.t >+++ b/t/db_dependent/api/v1/ticket_updates.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/tickets.t b/t/db_dependent/api/v1/tickets.t >index 51d7dd5cc2b..b0df81be03f 100755 >--- a/t/db_dependent/api/v1/tickets.t >+++ b/t/db_dependent/api/v1/tickets.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Mojo; > > use t::lib::TestBuilder; >diff --git a/t/db_dependent/api/v1/transfer_limits.t b/t/db_dependent/api/v1/transfer_limits.t >index c783d679223..1164b9bb0a2 100755 >--- a/t/db_dependent/api/v1/transfer_limits.t >+++ b/t/db_dependent/api/v1/transfer_limits.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > use Test::Mojo; > use Test::Warn; > >diff --git a/t/db_dependent/api/v1/unhandled_exceptions.t b/t/db_dependent/api/v1/unhandled_exceptions.t >index 1d7aa4bb32b..09ed305fd45 100755 >--- a/t/db_dependent/api/v1/unhandled_exceptions.t >+++ b/t/db_dependent/api/v1/unhandled_exceptions.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::MockModule; > use Test::Mojo; > >diff --git a/t/db_dependent/check_kohastructure.t b/t/db_dependent/check_kohastructure.t >index 740cddf1e67..e3132ea6591 100755 >--- a/t/db_dependent/check_kohastructure.t >+++ b/t/db_dependent/check_kohastructure.t >@@ -16,7 +16,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use File::Slurp; > use C4::Context; > my $content = read_file( C4::Context->config("intranetdir") . '/installer/data/mysql/kohastructure.sql' ); >diff --git a/t/db_dependent/check_sysprefs.t b/t/db_dependent/check_sysprefs.t >index 9bd0102f221..868ceb0932b 100755 >--- a/t/db_dependent/check_sysprefs.t >+++ b/t/db_dependent/check_sysprefs.t >@@ -29,7 +29,8 @@ use Array::Utils qw(array_minus); > our $showsql = 0; > GetOptions( 'showsql' => \$showsql ); > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > our $dbh = C4::Context->dbh; > my $intranetdir = C4::Context->config('intranetdir'); >diff --git a/t/db_dependent/db_structure.t b/t/db_dependent/db_structure.t >index 307a465c035..7d05083f409 100755 >--- a/t/db_dependent/db_structure.t >+++ b/t/db_dependent/db_structure.t >@@ -17,6 +17,7 @@ > > use Modern::Perl; > >+use Test::NoWarnings; > use Test::More; > use Koha::Database; > >diff --git a/t/db_dependent/misc/translator/xgettext-installer.t b/t/db_dependent/misc/translator/xgettext-installer.t >index cd6e30d905c..49c3cff2a6b 100755 >--- a/t/db_dependent/misc/translator/xgettext-installer.t >+++ b/t/db_dependent/misc/translator/xgettext-installer.t >@@ -6,7 +6,8 @@ use File::Slurp; > use File::Temp qw(tempdir); > use FindBin qw($Bin); > use Locale::PO; >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > my $tempdir = tempdir( CLEANUP => 1 ); > >diff --git a/t/db_dependent/misc/translator/xgettext-pref.t b/t/db_dependent/misc/translator/xgettext-pref.t >index 4e9c072789e..48ad8856112 100755 >--- a/t/db_dependent/misc/translator/xgettext-pref.t >+++ b/t/db_dependent/misc/translator/xgettext-pref.t >@@ -6,7 +6,8 @@ use File::Slurp; > use File::Temp qw(tempdir); > use FindBin qw($Bin); > use Locale::PO; >-use Test::More tests => 16; >+use Test::NoWarnings; >+use Test::More tests => 17; > > my $tempdir = tempdir( CLEANUP => 1 ); > >diff --git a/t/db_dependent/misc/translator/xgettext-tt2.t b/t/db_dependent/misc/translator/xgettext-tt2.t >index f99a164eff7..a0c91d5967a 100755 >--- a/t/db_dependent/misc/translator/xgettext-tt2.t >+++ b/t/db_dependent/misc/translator/xgettext-tt2.t >@@ -6,7 +6,8 @@ use File::Slurp; > use File::Temp qw(tempdir); > use FindBin qw($Bin); > use Locale::PO; >-use Test::More tests => 36; >+use Test::NoWarnings; >+use Test::More tests => 37; > > my $tempdir = tempdir( CLEANUP => 1 ); > >diff --git a/t/db_dependent/mojo/csrf.t b/t/db_dependent/mojo/csrf.t >index 511cf1a7ffb..9fc953c95fe 100755 >--- a/t/db_dependent/mojo/csrf.t >+++ b/t/db_dependent/mojo/csrf.t >@@ -2,7 +2,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > use Test::Mojo; > > use Koha::Database; >diff --git a/t/db_dependent/rollingloans.t b/t/db_dependent/rollingloans.t >index 7741a7836db..cf198018aac 100755 >--- a/t/db_dependent/rollingloans.t >+++ b/t/db_dependent/rollingloans.t >@@ -11,7 +11,8 @@ use Koha::Patrons; > use t::lib::TestBuilder; > use t::lib::Mocks qw(mock_preference); > >-use Test::More tests => 8; >+use Test::NoWarnings; >+use Test::More tests => 9; > > my $schema = Koha::Database->new->schema; > $schema->storage->txn_begin; >diff --git a/t/db_dependent/selenium/01-installation.t b/t/db_dependent/selenium/01-installation.t >index e5e3db5d669..04cb6030632 100755 >--- a/t/db_dependent/selenium/01-installation.t >+++ b/t/db_dependent/selenium/01-installation.t >@@ -22,7 +22,8 @@ > > use Modern::Perl; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use t::lib::Selenium; > use C4::Context; >diff --git a/t/db_dependent/selenium/administration_tasks.t b/t/db_dependent/selenium/administration_tasks.t >index 64cec37e71b..03a13ddb0fb 100755 >--- a/t/db_dependent/selenium/administration_tasks.t >+++ b/t/db_dependent/selenium/administration_tasks.t >@@ -23,7 +23,8 @@ use Modern::Perl; > > use C4::Context; > >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use t::lib::Selenium; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/selenium/authentication.t b/t/db_dependent/selenium/authentication.t >index 6e31eb8f959..96315668fd9 100755 >--- a/t/db_dependent/selenium/authentication.t >+++ b/t/db_dependent/selenium/authentication.t >@@ -23,7 +23,8 @@ > #Note: If you are testing this on kohadevbox with selenium installed in kohadevbox then you need to set the staffClientBaseURL to localhost:8080 and the OPACBaseURL to localhost:80 > > use Modern::Perl; >-use Test::More tests => 3; >+use Test::NoWarnings; >+use Test::More tests => 4; > > use C4::Context; > use Koha::AuthUtils; >diff --git a/t/db_dependent/selenium/authentication_2fa.t b/t/db_dependent/selenium/authentication_2fa.t >index 0a7a7bb880c..fe636a655bc 100755 >--- a/t/db_dependent/selenium/authentication_2fa.t >+++ b/t/db_dependent/selenium/authentication_2fa.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > use utf8; >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > > use C4::Context; > use Koha::AuthUtils; >diff --git a/t/db_dependent/selenium/batch_item_modification.t b/t/db_dependent/selenium/batch_item_modification.t >index 32c62f15160..1be7bd39a19 100755 >--- a/t/db_dependent/selenium/batch_item_modification.t >+++ b/t/db_dependent/selenium/batch_item_modification.t >@@ -20,7 +20,8 @@ use Modern::Perl; > use C4::Context; > use Koha::BackgroundJobs; > >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use t::lib::Selenium; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/selenium/ilsdi.t b/t/db_dependent/selenium/ilsdi.t >index 2eaeaaaa31b..6b0ba2a5358 100755 >--- a/t/db_dependent/selenium/ilsdi.t >+++ b/t/db_dependent/selenium/ilsdi.t >@@ -20,7 +20,8 @@ use Modern::Perl; > use C4::Context; > use XML::LibXML; > >-use Test::More tests => 4; >+use Test::NoWarnings; >+use Test::More tests => 5; > > use t::lib::Selenium; > use t::lib::TestBuilder; >diff --git a/t/db_dependent/selenium/opac_holds.t b/t/db_dependent/selenium/opac_holds.t >index e5b63309555..54024ce5bcf 100755 >--- a/t/db_dependent/selenium/opac_holds.t >+++ b/t/db_dependent/selenium/opac_holds.t >@@ -16,7 +16,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 2; >+use Test::NoWarnings; >+use Test::More tests => 3; > > use C4::Biblio qw(DelBiblio); > >diff --git a/t/db_dependent/selenium/patrons_search.t b/t/db_dependent/selenium/patrons_search.t >index e76505711f9..7b127ca2721 100755 >--- a/t/db_dependent/selenium/patrons_search.t >+++ b/t/db_dependent/selenium/patrons_search.t >@@ -27,6 +27,7 @@ our $DT_delay = 1; > use C4::Context; > > use utf8; >+use Test::NoWarnings; > use Test::More; > use Test::MockModule; > >diff --git a/t/db_dependent/selenium/remove_from_cart.t b/t/db_dependent/selenium/remove_from_cart.t >index 6424da0da64..bf513c09f71 100755 >--- a/t/db_dependent/selenium/remove_from_cart.t >+++ b/t/db_dependent/selenium/remove_from_cart.t >@@ -19,6 +19,7 @@ use Modern::Perl; > use File::Basename qw(dirname ); > > use Test::WWW::Mechanize; >+use Test::NoWarnings; > use Test::More; > use Test::MockModule; > >diff --git a/t/db_dependent/selenium/self_registration.t b/t/db_dependent/selenium/self_registration.t >index 93998a1df61..75f3b69ec0a 100755 >--- a/t/db_dependent/selenium/self_registration.t >+++ b/t/db_dependent/selenium/self_registration.t >@@ -20,6 +20,7 @@ use utf8; > > use C4::Context; > >+use Test::NoWarnings; > use Test::More; > use Test::MockModule; > >diff --git a/t/db_dependent/selenium/system_preferences_search.t b/t/db_dependent/selenium/system_preferences_search.t >index b759333c692..3f472560ef1 100755 >--- a/t/db_dependent/selenium/system_preferences_search.t >+++ b/t/db_dependent/selenium/system_preferences_search.t >@@ -16,6 +16,7 @@ > use Modern::Perl; > > use Koha::AuthUtils; >+use Test::NoWarnings; > use Test::More; > > use t::lib::Mocks; >diff --git a/t/db_dependent/selenium/update_child_to_adult.t b/t/db_dependent/selenium/update_child_to_adult.t >index 96a06be29fa..56d336e977d 100755 >--- a/t/db_dependent/selenium/update_child_to_adult.t >+++ b/t/db_dependent/selenium/update_child_to_adult.t >@@ -19,6 +19,7 @@ use Modern::Perl; > > use C4::Context; > >+use Test::NoWarnings; > use Test::More; > use Test::MockModule; > >diff --git a/t/db_dependent/sysprefs.t b/t/db_dependent/sysprefs.t >index 9f8f5a786ba..634c09f8f7d 100755 >--- a/t/db_dependent/sysprefs.t >+++ b/t/db_dependent/sysprefs.t >@@ -19,7 +19,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 9; >+use Test::NoWarnings; >+use Test::More tests => 10; > use C4::Context; > use Koha::Database; > >diff --git a/t/db_dependent/www/regressions.t b/t/db_dependent/www/regressions.t >index 767ad361722..a1d6ee8d5a2 100755 >--- a/t/db_dependent/www/regressions.t >+++ b/t/db_dependent/www/regressions.t >@@ -17,7 +17,8 @@ > > use Modern::Perl; > >-use Test::More tests => 1; >+use Test::NoWarnings; >+use Test::More tests => 2; > use Test::Mojo; > use t::lib::TestBuilder; > use t::lib::Mocks; >diff --git a/t/db_dependent/www/rest_api.t b/t/db_dependent/www/rest_api.t >index 1a0e538b491..43f2a28d6b9 100755 >--- a/t/db_dependent/www/rest_api.t >+++ b/t/db_dependent/www/rest_api.t >@@ -17,6 +17,7 @@ > > use Modern::Perl; > >+use Test::NoWarnings; > use Test::More; #See plan tests => \d+ below > use LWP::UserAgent; > >diff --git a/t/db_dependent/yaml.t b/t/db_dependent/yaml.t >index 6770fe355b7..82743a54ff8 100755 >--- a/t/db_dependent/yaml.t >+++ b/t/db_dependent/yaml.t >@@ -1,4 +1,5 @@ > use Modern::Perl; >+use Test::NoWarnings; > use Test::More; > > use YAML::XS; >diff --git a/t/template_filters.t b/t/template_filters.t >index 6b1bb10bd06..2a02d953c79 100755 >--- a/t/template_filters.t >+++ b/t/template_filters.t >@@ -16,7 +16,8 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >-use Test::More tests => 7; >+use Test::NoWarnings; >+use Test::More tests => 8; > use t::lib::QA::TemplateFilters; > > subtest 'Asset must use raw' => sub { >diff --git a/t/timezones.t b/t/timezones.t >index c83514865c7..390969887ba 100755 >--- a/t/timezones.t >+++ b/t/timezones.t >@@ -3,7 +3,8 @@ use Modern::Perl; > use C4::Context; > use Koha::Config; > >-use Test::More tests => 5; >+use Test::NoWarnings; >+use Test::More tests => 6; > use Test::Warn; > use t::lib::Mocks; > >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38944
:
176912
|
176913
|
176914
|
177165
|
177166
|
177167
|
177196
|
177274
|
177275
|
177362
|
177363
|
177364
|
177380
|
177477
|
177478
|
177479
|
177480
|
177481
|
177928
|
177929
|
177930
|
177931
|
177932
|
177977
|
177994
| 177995 |
177996
|
177997
|
177998
|
177999