Koha-clms/t/db_dependent
Nick Clemens d2aaa2fbc8 Bug 19307: Mock the AllowFineOverride preference to ensure expected result
To test:
 1 - Set 'AllowFineOverride' to allow
 2 - prove t/db_dependent/Circulation/NoIssuesChargeGuarantees.t
 3 - 1 test fails
 4 - Apply patch
 5 - prove t/db_dependent/Circulation/NoIssuesChargeGuarantees.t
 6 - All tests pass
 7 - Set 'AllowFineOverride' to 'Don't allow'
 8 - Tests should still pass

Signed-off-by: David Bourgault <david.bourgault@inlibro.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 1e2e1247c9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 86612541a4)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Conflicts:
	t/db_dependent/Circulation/NoIssuesChargeGuarantees.t
2017-11-23 01:43:58 +13:00
..
Acquisition Bug 19120: Add tests to reproduce the problem 2017-10-24 17:35:23 +13:00
Auth
…
Authorities Bug 17913: [16.05.x] Authority merge fix 2017-02-24 09:42:24 +13:00
Biblio Bug 19441: Fix t/db_dependent/Biblio/TransformKohaToMarc.t 2017-10-13 13:22:14 +13:00
Circulation Bug 19307: Mock the AllowFineOverride preference to ensure expected result 2017-11-23 01:43:58 +13:00
Creators Bug 18044: Add a test 2017-02-16 07:23:50 +13:00
Exporter Bug 17644 - t/db_dependent/Exporter/Record.t fails 2016-12-12 14:54:12 +13:00
Holds Bug 17574: Remove itemtype-related warnings from LocalHoldsPriority.t 2016-12-12 14:54:09 +13:00
Items Bug 19441: Fix AutomaticItemModificationByAge.t 2017-10-13 13:22:14 +13:00
Koha Revert "Bug 14637: Fix add patron category under MySQL 5.7 - tests" 2017-11-14 03:38:19 +13:00
LDAP
…
Labels
…
Letters
…
Members Bug 19071: Fix Members/IssueSlip.t 2017-10-24 16:42:07 +13:00
OAI Bug 18794: Fix test ListMetadataFormats in OAI/Server.t 2017-10-24 16:42:10 +13:00
Patron Bug 17603: Remove itemtype-related Borrower_Discharge.t warnings 2016-12-12 14:54:09 +13:00
Record Revert "Bug 17249: Remove GetKohaAuthorisedValuesFromField - add tests" 2017-09-20 15:59:35 +12:00
Reports Bug 12787 [QA Followup] - Retain change to Reports_Guided.t 2016-04-22 00:54:36 +00:00
Reserves
…
SIP Revert "Bug 18996: [16.11.x] Add checkin subtest in SIP/Message.t" 2017-10-25 13:41:28 +13:00
Search Bug 18976: [16.11] Add missing use statement 2017-08-23 22:22:38 +12:00
Serials Bug 18697: Final polishing 2017-07-31 01:02:07 +12:00
Template/Plugin Bug 19441: Fix AuthorisedValues.t 2017-10-13 13:22:14 +13:00
Utils Bug 18094: Add tests to highlight the problem 2017-05-04 02:52:33 +12:00
XSLT_Handler
…
api/v1 Bug 16271: Allow more filters on /api/v1/holds 2016-08-01 11:11:13 +02:00
data
…
selenium Bug 19337: Make basic_workflow.t configurable through ENV 2017-11-23 01:43:57 +13:00
www Bug 18807: t/db_dependent/www/batch.t fails 2017-07-31 01:02:06 +12:00
00-strict.t Bug 18233 - t/db_dependent/00-strict.t has non-existant resetversion.pl 2017-05-24 14:26:22 +12:00
Accounts.t Bug 16607: Remove CPL/MPL from two unit tests 2016-06-24 07:28:45 +02:00
Acquisition.t Bug 16934: Add test for ModOrder 2016-08-01 13:31:23 +02:00
AdditionalField.t
…
Amazon.t
…
AudioAlerts.t
…
Auth.t Bug 18976: Fix t/db_dependent/Auth.t cleanup 2017-08-23 22:22:38 +12:00
Auth_with_cas.t
…
Auth_with_ldap.t Bug 17615 - Fix unit tests 2017-01-25 14:53:46 +13:00
AuthorisedValues.t Revert "Bug 17249: Remove GetKohaAuthorisedValuesFromField - Add search_by_marc_field" 2017-09-20 15:59:27 +12:00
AuthoritiesMarc.t
…
BackgroundJob.t Bug 17426: Do not set AutoCommit in tests 2016-10-22 15:10:09 +02:00
Barcodes.t Bug 15878 - Updated unit tests for hbyymmincr barcodes 2016-05-23 17:42:10 +00:00
Barcodes_ValueBuilder.t
…
Biblio.t Bug 18554: Adjust a few typos including responsability 2017-07-31 01:02:09 +12:00
Bookseller.t
…
Branch.t
…
Breeding.t
…
Budgets.t Bug 18941 - Unit tests 2017-10-24 16:42:07 +13:00
Category.t
…
Charset.t
…
Circulation.t Bug 18759: (follow-up) Try to fix random failure from Circulation.t 2017-07-30 07:16:35 +12:00
ClassSource.t Bug 16860: Remove the comment about the warning 2016-08-01 10:50:08 +02:00
ColumnsSettings.t
…
Context.t Bug 16813: Allow empty string for OPACBaseURL 2016-08-01 13:31:21 +02:00
Contract.t
…
CourseReserves.t
…
DecreaseLoanHighHolds.t Bug 17573: Remove itemtype-related warnings from DecreaseLoanHighHolds.t 2016-12-12 14:54:09 +13:00
Filter_MARC_ViewPolicy.t
…
Fines.t
…
FrameworkPlugin.t
…
Heading_MARC21.t
…
Hold.t Bug 16609: Catch warning from Koha::Hold in Hold.t 2016-06-15 09:04:06 +02:00
Holds.t Bug 16717: Improve variable naming 2016-06-24 07:29:30 +02:00
HoldsQueue.t Bug 18605: Remove TRUNCATE from C4/HoldsQueue.pm 2017-08-23 22:14:11 +12:00
Holidays.t Bug 16376: (regression tests) 2017-01-03 14:22:37 +13:00
ILSDI_Services.t Bug 16155: (QA followup) fix small bug in t/db_dependent/ILSDI_Services.t 2016-05-04 13:47:58 +00:00
ImportBatch.t Bug 18611: [QA Follow-up] Add unit test for GetItemNumbersFromImportBatch 2017-07-30 06:43:18 +12:00
Installer.t Bug 17234: Need to separate KEY and FOREIGN KEY checks 2017-01-25 13:19:12 +13:00
Items.t Bug 19350: Add tests 2017-10-24 17:35:22 +13:00
KitchenSinkPlugin.kpz Bug 17368: Update KitchenSinkPlugin.kpz 2016-10-22 15:12:40 +02:00
Koha.t
…
Koha_Authority.t
…
Koha_Database.t
…
Koha_Misc_Files.t
…
Koha_borrower_modifications.t Revert "Bug 17494: Prevent duplicate tokens from getting stored" 2016-12-31 14:44:57 +13:00
Languages.t Bug 16866: Catch warning t/db_dependent/Languages.t 2016-08-01 11:33:45 +02:00
Letters.t Revert "Bug 18613: Add unit tests for getletter" 2017-07-31 04:04:35 +12:00
Linker_FirstMatch.t Bug 16868: Silence error t/db_dependent/Linker_FirstMatch.t 2016-08-05 09:00:34 +02:00
Log.t Bug 18991: Fix cleanup in t/db_dependent/Log.t 2017-08-23 22:14:54 +12:00
MarcModificationTemplates.t
…
Members.t Bug 19126: Fix Members.t with IndependentBranches set 2017-10-24 16:42:08 +13:00
MungeMarcPrice.t
…
NewsChannels.t Bug 16550: Clean the tests 2016-05-23 17:37:48 +00:00
Overdues.t
…
Passwordrecovery.t Bug 18025: Fix test 2017-02-23 10:26:47 +13:00
Patron.t Bug 14577 [QA Followup] 2016-04-29 11:54:23 +00:00
PatronLists.t Bug 16452: Remove the warnings raised by PatronLists.t 2016-05-05 20:44:47 +00:00
Patrons.t Bug 17742: Use TestBuilder to create the library and patron category 2017-01-25 12:47:57 +13:00
Plugins.t Bug 16502: Replace a few other ok-calls by is-calls 2016-06-24 07:25:41 +02:00
QueryParser.t
…
Ratings.t
…
Record.t
…
RecordProcessor_EmbedSeeFromHeadings.t
…
Reports.t
…
Reserves.t [16.05.x] Small fixes for various tests 2017-10-24 18:01:39 +13:00
Review.t
…
RotatingCollections.t
…
Search.t Bug 17278: Fix test compilation errors 2017-11-22 22:10:01 +13:00
Serials.t Bug 18460: Fix undefined itemtype warning in Serials.t 2017-04-30 23:19:59 +12:00
Serials_2.t
…
Service.t
…
ShelfBrowser.t Bug 19047: Fix AddBiblio call in ShelfBrowser.t 2017-10-24 16:42:06 +13:00
Sitemapper.t Bug 17920: t/db_dependent/Sitemapper.t fails because of permissions 2017-01-25 15:05:56 +13:00
Stats.t
…
SuggestionEngine_ExplodedTerms.t Bug 9857: Fix failing tests 2017-10-24 16:42:12 +13:00
Suggestions.t Bug 16325: Add a test for SearchSuggestions when searching for STATUS='' 2016-05-05 20:46:01 +00:00
Tags.t
…
Templates.t Bug 18010: Unit test for gettemplate 2017-04-04 03:45:18 +12:00
TestBuilder.t Bug 17726: [QA Follow-up] Add test descriptions 2017-02-22 21:58:09 +13:00
Upload.t Bug 16501: Remove some unneeded warns in Upload.t 2016-05-16 17:46:25 +00:00
UsageStats.t Bug 18066: Hea V2 [squashed] 2017-05-24 13:44:59 +12:00
Virtualshelves.t [16.05.x] Small fixes for various tests 2017-10-24 18:01:39 +13:00
XISBN.t Bug 19440: Identify overlimit problems in XISBN tests 2017-10-24 17:35:22 +13:00
XSLT_Handler.t
…
check_sysprefs.t Revert "Bug 17917: [AMENDED] Fix path issue in t/db_dependent/check_sysprefs.t" 2017-01-27 17:07:44 +13:00
db_structure.t
…
default_search_class.pl
…
rollingloans.t
…
sysprefs.t
…
zebra_config.pl
…