Koha-clms/t/db_dependent/Koha
Martin Renvoize 00a4924ce2 Bug 27927: Add Unit Tests
Add a unit test to check that 'FORGIVEN' credits do not prompt an
auto-renewal with `RenewAccruingItemWhenPaid` enabled.

Test plan
1/ Apply the test patch
2/ Run t/db_dependent/Koha/Account/Line.t and confirm it fails
3/ Apply subsequent patch
4/ Re-run the test and confirm it passes

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 6eea10dc53)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 1c2b5952d3)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
2021-04-25 15:45:15 +00:00
..
Account Bug 27927: Add Unit Tests 2021-04-25 15:45:15 +00:00
Acquisition Bug 24161: (follow-up) Fix failing test (when running slow) 2020-05-13 16:05:36 +01:00
Biblio
…
BiblioUtils Bug 23463: Replace AddItem calls with Koha::Item->store 2020-03-23 09:26:26 +00:00
Cash Bug 24815: Add additional tests 2020-04-29 16:17:53 +01:00
Charges Bug 25729: Prevent Charges/Fees.t to fail on slow server 2020-07-31 20:31:51 +00:00
Checkouts Bug 27004: Regression tests 2021-01-05 17:49:23 +00:00
Club Bug 27333: Regression tests 2021-02-04 21:23:41 +00:00
Config Bug 27154: Fix test if the cache is populated already 2021-02-17 20:25:23 +00:00
Filter Bug 23793: Unit tests 2019-10-23 17:33:09 +01:00
IssuingRules Bug 18936: Fix IssuingRules/guess_article_requestable_itemtypes.t 2020-02-04 09:56:29 +00:00
Item
…
Library
…
Objects/Mixin Bug 23994: Fix random failure from AdditionalFields.t (U18) 2019-11-08 09:31:47 +00:00
Patron Bug 26157: Correct two occurrences 2020-10-09 18:07:43 +00:00
Patrons Bug 26059: Add unit tests 2021-02-22 22:44:15 +00:00
Plugins Bug 18308: (RM follow-up) Clarify intent of tests 2020-05-05 14:59:35 +01:00
REST Bug 27680: Add support for param[] syntax 2021-03-05 21:32:11 +00:00
SearchEngine Bug 27784: Unit tests 2021-03-14 19:05:09 +00:00
Subscription
…
Tags
…
Template/Plugin Bug 13547: (QA follow-up) Add basic tests 2020-05-12 11:44:52 +01:00
XSLT Bug 25641: Fix Koha/XSLT/Base.t failures on U20 2020-06-16 21:37:46 +00:00
Z3950Responder Bug 27149: Unit tests 2021-01-22 16:30:38 +00:00
Account.t Bug 25508: Add Unit Tests 2021-04-25 15:31:52 +00:00
ActionLogs.t Bug 24329: Add a test 2020-01-08 11:05:00 +00:00
ApiKeys.t
…
Authorities.t Bug 24823: Drop Catmandu dependency 2020-05-12 11:43:19 +01:00
Biblio.t Bug 22284: (QA follow-up) Fix test failures 2021-01-15 19:24:02 +00:00
BiblioFrameworks.t
…
Biblios.t Bug 23463: Replace AddItem calls with Koha::Item->store 2020-03-23 09:26:26 +00:00
Checkouts.t
…
CirculationRules.t Bug 24602: Tests for get_onshlefholds_policy 2020-02-10 08:56:30 +00:00
Cities.t
…
ClassSortRules.t
…
ClassSources.t
…
ClassSplitRules.t
…
CsvProfiles.t
…
Database.t Bug 22001: Add tests 2020-03-27 08:53:02 +00:00
Desks.t Bug 13881: Add desk management 2020-03-25 09:19:15 +00:00
GetDailyQuote.t
…
Hold.t Bug 27209: (follow-up) Add ->is_pickup_location_valid 2020-12-28 14:56:57 +00:00
Holds.t Bug 24722: Add test 2020-03-17 16:48:52 +00:00
IssuingRules.t Bug 18936: (follow-up) Add cloning of circulation rules back to Koha 2020-02-04 09:56:29 +00:00
Item.t Bug 27007: Don't call GetMarcSubfieldStructure with unsafe in tests 2020-12-09 21:54:46 +00:00
ItemTypes.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Items.t Bug 27580: Regression tests 2021-02-08 20:29:42 +00:00
KeyboardShortcuts.t
…
Libraries.t Bug 27071: More tests for Koha::Library->validate_hold_sibling 2021-03-05 17:58:58 +00:00
MarcSubfieldStructures.t
…
News.t Bug 27714: Prevent Koha::NewsItem->author to explode 2021-03-05 14:22:06 +00:00
Notices.t
…
Object.t Bug 25638: Add tests for JSON conversion vs DBD::mysql 2020-06-16 21:47:07 +00:00
Objects.t Bug 26984: (follow-up) Don't delete patrons and checkouts in Objects.t 2020-12-09 21:47:50 +00:00
Old.t Bug 24150: Prevent random failure comparing updated_on 2020-01-07 16:27:54 +00:00
Patron.t Bug 26157: Correct two occurrences 2020-10-09 18:07:43 +00:00
Patrons.t Bug 14708: (QA follow-up) Throw exception when deleting anonymous borrower 2020-12-09 21:39:10 +00:00
Ratings.t
…
Reports.t
…
Reviews.t
…
SMS_Providers.t
…
SearchField.t Bug 20589: (RM follow-up) Fix Koha::SearchField.t 2019-10-03 14:17:32 +01:00
SharedContent.t Bug 23075: (RM follow-up) Update mock in tests 2019-11-07 07:56:17 +00:00
Statistics.t Bug 24149: Add tests 2020-01-23 10:40:24 +00:00
Subscription.t
…
Suggestion.t Bug 24419: Add Koha::Suggestion->suggester accessor 2020-01-20 16:37:22 +00:00
Suggestions.t Bug 23591: Add some useful methods to Koha::Suggestions 2020-04-14 16:36:13 +01:00
Tags.t
…
Z3950Servers.t
…