Koha-clms/t/db_dependent/Koha
Jonathan Druart 744e9a0379 Bug 20145: Do not insert 0000-00-00 in patron tests (and more)
We should call Koha::Patron->is_expired in CanBookBeIssued instead of
doing the same calculation.

Tests have been adapted to pass with new SQL modes.

We should not need to update the values in DB, we already have
  Bug 14717: Prevent 0000-00-00 dates in patron data (3.21.00.023)

Test plan:
  prove t/db_dependent/Circulation/dateexpiry.t
  prove t/db_dependent/Koha/Patrons.t
must return green

Signed-off-by: Roch D'Amour <roch.damour@inlibro.com>

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-02-18 14:48:05 -03:00
..
Acquisition Bug 20144: [sql_modes] Fix date format in tests 2018-02-13 13:58:50 -03:00
Filter Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
Item Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Patron Bug 18403: Prevent Modifications.t to fail randomly 2018-02-16 10:49:45 -03:00
Patrons Bug 12598: Remove warnings from tests and make them pass 2018-02-16 14:05:18 -03:00
REST/Plugin Bug 19686: (follow-up) Add to_api param for completeness 2018-02-16 14:05:20 -03:00
SearchEngine Bug 18624: Do not return 1 in tests 2017-08-15 12:17:39 -03:00
Authorities.t Bug 20144: [sql_modes] Set auth_header.marcxml to an empty string in tests 2018-02-13 13:58:51 -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 20176: [sql_modes] Set biblio.datecreated to NOW if not defined 2018-02-16 13:03:58 -03:00
Checkouts.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Cities.t Bug 20144: [sql_modes] Shorten cities.city_zipcode 2018-02-13 13:58:51 -03:00
CsvProfiles.t Bug 20144: [sql_modes] Add default values for export_format columns 2018-02-13 13:58:51 -03:00
GetDailyQuote.t Bug 20144: [sql_modes] Correct quotes.timestamp values in tests 2018-02-13 13:58:51 -03:00
Holds.t Bug 19059: Remove CancelReserve - add new tests 2017-09-12 12:42:59 -03:00
IssuingRules.t Bug 19301: (QA follow-up) Add a few simple tests 2018-02-13 13:36:01 -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 20144: [sql_modes] Shorten items.barcode 2018-02-13 13:58:51 -03:00
Libraries.t Bug 16735: Migrate library search groups into the new hierarchical groups 2018-02-12 15:41:25 -03:00
MarcSubfieldStructures.t Bug 19096: Add update DB entry to sync kohafield in all frameworks 2017-12-11 11:34:08 -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 19828: Unit tests 2017-12-22 13:15:38 -03:00
Objects.t Bug 19410: Move build_query_params_from_api into a helper 2017-12-11 17:46:59 -03:00
Patrons.t Bug 20145: Do not insert 0000-00-00 in patron tests (and more) 2018-02-18 14:48:05 -03:00
Ratings.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Reviews.t Bug 18403: Patron reviews 2018-02-12 15:41:41 -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