Koha-clms/t/db_dependent
Martin Renvoize 52c786205e
Bug 31095: Remove GetDebarments from Borrower_Debarments.t
This patch replaces calls to GetDebarments with teh
$patron->restritions->search() equivilents.

Test plan
1. Run the test prior to the patch and confirm it passes
2. Run the test after the patch and confirm it passes
3. Confirm no tests were removed

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-01-31 10:19:40 -03:00
..
Acquisition Bug 31649: Add unit tests 2022-10-11 10:00:08 -03:00
Auth
…
AuthoritiesMarc
…
Authority Bug 19693: Add test sub to Merge.t 2022-10-24 17:20:25 -03:00
Biblio
…
Budgets Bug 27550: Add unit test for CloneBudgetHierarchy 2022-09-22 08:18:43 -03:00
Circulation Bug 31095: Remove GetDebarments from MarkIssueReturned.t 2023-01-31 10:19:39 -03:00
CourseReserves Bug 32351: Fix CourseItems.t 2022-11-30 15:58:18 -03:00
Creators
…
Exporter
…
Holds
…
Illrequest Bug 30484: Add unit tests 2022-09-23 09:18:46 -03:00
Items Bug 31196: Remove 'default_value_for_mod_marc-' clear_from_cache calls 2022-10-25 11:16:57 -03:00
Koha Bug 31095: Remove GetDebarments from Restriction/Type.t 2023-01-31 10:19:39 -03:00
LDAP
…
Labels
…
Letters Bug 32351: Fix TemplateToolkit.t 2022-11-30 15:58:18 -03:00
Members
…
OAI
…
Patron Bug 31095: Remove GetDebarments from Borrower_Debarments.t 2023-01-31 10:19:40 -03:00
Record
…
Reports
…
Reserves Bug 24860: (QA follow-up) Add unit tests to cover Koha::Holds::forced_hold_level 2022-11-04 19:40:14 -03:00
SIP Bug 32431: Display expiry date on SIP checkout when patron is expired 2023-01-30 15:07:37 -03:00
Search
…
Serials
…
Template/Plugin Bug 31421: Add tests 2022-10-27 09:42:57 -03:00
Utils
…
api/v1 Bug 31797: Add DELETE /items/:item_id endpoint 2023-01-30 12:20:44 -03:00
cronjobs
…
data
…
misc/translator
…
selenium Bug 32376: Remove creation of selenium_failure_2.png 2023-01-27 15:12:36 -03:00
www Bug 31992: Fix t::lib::Mocks::Zebra 2022-10-28 16:30:05 -03:00
00-strict.t
…
01-test_dbic.t
…
Accounts.t
…
Acquisition.t Bug 32351: Fix Acquisition.t 2022-11-30 15:58:15 -03:00
Amazon.t
…
ArticleRequests.t
…
AudioAlerts.t
…
Auth.t Bug 32622: Fix Auth.t on D10 2023-01-13 13:19:09 +00:00
AuthUtils.t
…
Auth_with_cas.t
…
Auth_with_ldap.t Bug 30646: Unit tests for Auth_with_ldap 2022-10-03 14:02:40 -03:00
AuthorisedValues.t
…
AuthoritiesMarc.t
…
AuthoritiesMarc_GetTagsLabels.t
…
BackgroundJob.t
…
Barcodes.t
…
Barcodes_ValueBuilder.t
…
Biblio.t Bug 30025: Split BiblioAddsAuthorities into two sysprefs 2022-09-16 16:48:30 -03:00
Biblio_holdsqueue.t
…
Breeding.t
…
Budgets.t Bug 32351: Fix Budgets.t 2022-11-30 15:58:15 -03:00
Cache.t
…
Calendar.t
…
Charset.t
…
Circulation.t Bug 31095: Remove GetDebarments from Circulation.t 2023-01-31 10:19:38 -03:00
Circulation_holdsqueue.t
…
Clubs.t
…
Context.t Bug 31870: Add license, remove unused modules 2022-10-24 11:26:10 -03:00
Contract.t
…
CourseReserves.t
…
DecreaseLoanHighHolds.t Bug 29102: Do not count patron's own hold against limits 2022-11-04 19:20:24 -03:00
Filter_MARC_ViewPolicy.t
…
Fines.t
…
FrameworkPlugin.t
…
Heading.t
…
Heading_MARC21.t
…
Hold.t Bug 14783: (QA follow-up) Rename method and move tests 2022-10-17 15:43:22 -03:00
Holds.t Bug 24860: (QA follow-up) Add unit tests to cover changes to Reserves.pm 2022-11-04 19:39:58 -03:00
HoldsQueue.t Bug 24860: (QA follow-up) Add unit tests to cover changes to HoldsQueue.pm 2022-11-04 19:39:58 -03:00
Holidays.t
…
ILSDI_Services.t
…
Illcomments.t
…
Illrequestattributes.t
…
Illrequests.t Bug 32351: Fix Illrequests.t 2022-11-30 15:58:16 -03:00
ImportBatch.t Bug 30779: Remove _update_import_record_marc and update tests 2022-08-18 09:02:04 -03:00
ImportExportFramework.t
…
Installer.t
…
Items.t Bug 32456: Unit tests 2022-12-27 10:42:19 -03:00
Koha.t
…
Koha_Database.t
…
Koha_Elasticsearch.t
…
Koha_ExternalContent_OverDrive.t
…
Koha_ExternalContent_RecordedBooks.t
…
Koha_MetadataRecord_Authority.t
…
Koha_Misc_Files.t
…
Languages.t
…
Letters.t Bug 31626: Add letter id to the message queue table 2022-10-18 09:41:41 -03:00
LibraryGroups.t
…
Linker_Default.t Bug 30280: Add Unit tests 2022-10-03 10:00:12 -03:00
Linker_FirstMatch.t
…
Log.t
…
MarcModificationTemplates.t Bug 31644: (QA follow-up) Add two missing shebang lines 2022-10-24 11:53:19 -03:00
Members.t Bug 32351: Fix Members.t 2022-11-30 15:58:16 -03:00
Message.t
…
MungeMarcPrice.t
…
Overdues.t
…
Passwordrecovery.t Bug 31739: Password recovery from staff fails if previous expired reset-entry exists. 2022-10-24 14:12:16 -03:00
PatronLists.t
…
Patroncards.t
…
Patrons.t
…
Record.t
…
RecordProcessor_EmbedSeeFromHeadings.t
…
Reports.t
…
Reserves.t Bug 32351: Fix Reserves.t 2022-11-30 15:58:17 -03:00
RotatingCollections.t Bug 29144: Remove opac_info from a few tests 2022-09-16 09:55:20 -03:00
Search.t Bug 20596: Add unit test for multiple values in authority search 2022-12-15 09:52:16 -03:00
Serials.t Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
Serials_2.t
…
Service.t
…
ShelfBrowser.t
…
Sitemapper.t
…
Stats.t
…
StockRotationItems.t
…
StockRotationRotas.t
…
StockRotationStages.t
…
SuggestionEngine_ExplodedTerms.t
…
Suggestions.t
…
TablesSettings.t
…
Tags.t Bug 31517: Remove unused get_tag function 2022-11-04 19:30:56 -03:00
Templates.t
…
TestBuilder.t Bug 32350: Add subtest for bad columns 2022-11-30 12:40:33 -03:00
Upload.t Bug 31598: Fix random failure on Jenkins for Upload.t 2022-09-22 08:07:01 -03:00
UsageStats.t
…
Virtualshelves.t
…
XISBN.t
…
XSLT.t Bug 32268: Prevent XSLT.t to fail randomly 2022-11-18 12:04:28 -03:00
check_kohastructure.t
…
check_sysprefs.t
…
db_structure.t
…
rollingloans.t
…
sysprefs.t
…
yaml.t
…
zebra_config.pl
…