Koha-clms/t/db_dependent/Koha
Martin Renvoize 28191756d1 Bug 22254: Correction to datehandling in test
Adding 13 months is not always the same as adding 1 month and then
adding 12 months in DateTime maths.  This patch rectified the test
to match the correct behaviour in koha.

Test plan.

1) Modify the test (around line 268) to test against the suspect
   leap date of 2019-01-31 and watch the test fail.
2) Apply the patch (which also adds this modification to test
   for such a leap date) and watch the test now pass.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 1da0ba48b6)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 413f34ba24)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 60f8ca789f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2019-02-25 11:17:29 +01:00
..
Acquisition Bug 15685: Add tests for Koha::Acquisition::Order->basket 2017-10-11 13:08:47 -03:00
Filter Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
Item Bug 14334: Remove AutoCommit from tests 2019-01-02 11:20:36 +01:00
Patron Bug 20584: Prevent Koha/Patron/Categories.t to fail randomly 2018-05-22 09:58:13 +00:00
REST/Plugin Bug 21116: Unit tests 2018-11-29 13:25:16 +01:00
SearchEngine Bug 19582: Unit tests 2018-05-14 13:19:27 +00:00
Template/Plugin Bug 21352: Allow plugins to add CSS and Javascript to Staff interface 2018-10-19 09:54:42 +02:00
Authorities.t Bug 18149: Move CountUsage calls to Koha namespace 2017-09-19 11:47:32 -03:00
BiblioFrameworks.t Bug 16155: [QA Follow-up] Add transaction to BiblioFrameworks.t 2016-05-04 13:47:58 +00:00
BiblioUtils.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Biblios.t Bug 4319: (QA follow-up) Rename hasItemswaitingOrInTransit to has_items_waiting_or_intransit 2018-02-22 01:05:02 +00:00
Checkouts.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Cities.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
CsvProfiles.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
GetDailyQuote.t Bug 14334: Remove AutoCommit from tests 2019-01-02 11:20:36 +01:00
Holds.t Bug 19059: Remove CancelReserve - add new tests 2017-09-12 12:42:59 -03:00
IsKohaFieldLinked.t Bug 12874: A DB field without a default mapping is set to a default value on editing 2014-10-11 12:57:11 -03:00
IssuingRules.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
ItemTypes.t Bug 12768: Fix tests - itemtypes.rentalcharge is now decimal(28,6) 2017-10-23 12:06:20 -03:00
Items.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Libraries.t Bug 10132: (QA followup) Organize tests in subtest 2017-09-19 09:47:28 -03:00
MarcSubfieldStructures.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
News.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Notices.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Object.t Bug 18725: Test return values of make_column_dirty 2018-05-22 09:58:14 +00:00
Objects.t Bug 21912: (QA follow-up) Do not delete existing patrons 2019-01-30 09:02:07 +01:00
Patrons.t Bug 22254: Correction to datehandling in test 2019-02-25 11:17:29 +01:00
Ratings.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Reviews.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
SMS_Providers.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Subscription.t Bug 18785: Add the Koha::Subscription->biblio method 2017-10-09 16:15:50 -03:00
Suggestions.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00