Koha-clms/t/db_dependent/Circulation
Jonathan Druart 56a9dcd48b Bug 7806: [20.05] Fix remaining occurrences of 0000-00-00
We should remove all SQL queries that contain 0000-00-00 and finally
assume we do not longer have such value in our DB (for date type)

We already dealt with such values in previous update DB entries.
The 2 added by this one haven't been replaced already.

The code will now assume that either a valid date exist, or NULL/undef.

Test plan:
QA review is needed and test of the different places where code is
modified.

Not sure about the change from reports/issues_avg_stats.pl

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
2021-03-08 14:26:22 +00:00
..
IssuingRules Bug 22001: Remove the RaiseError occurrences from tests 2020-03-27 08:52:56 +00:00
Branch.t Bug 26078: Prevent generating a new transfer from return policy when resolving a transfer 2020-09-03 14:38:21 +00:00
CalcDateDue.t Bug 25723: Update cache flushing calls 2020-07-27 17:39:40 +00:00
CalcFine.t Bug 18936: More fixes 2020-02-04 09:56:26 +00:00
CheckIfIssuedToPatron.t Bug 23463: Replace AddItem calls with Koha::Item->store 2020-03-23 09:26:26 +00:00
CheckValidBarcode.t Bug 23463: Replace AddItem calls with Koha::Item->store 2020-03-23 09:26:26 +00:00
GetHardDueDate.t Bug 17845: Remove some missed references to branchprinter 2020-03-10 15:18:28 +00:00
GetPendingOnSiteCheckouts.t Bug 23463: Replace AddItem calls with Koha::Item->store 2020-03-23 09:26:26 +00:00
GetTopIssues.t Bug 22001: Remove the RaiseError occurrences from tests 2020-03-27 08:52:56 +00:00
IsItemIssued.t Bug 23463: Fix IsItemIssued.t 2020-03-23 09:26:34 +00:00
MarkIssueReturned.t Bug 24413: (follow-up) Add tests 2020-05-25 15:58:14 +02:00
NoIssuesChargeGuarantees.t Bug 24408: Do not compare floats with precision in tests 2020-01-13 13:42:45 +00:00
OfflineOperation.t Bug 17845: Remove some missed references to branchprinter 2020-03-10 15:18:28 +00:00
ReturnClaims.t Bug 25552: Simplify tests using build_sample_item 2021-02-09 21:36:51 +00:00
Returns.t Bug 8338: (QA follow-up) Fix test for backdated return 2020-07-27 15:16:40 +00:00
StoreLastBorrower.t Bug 14591: Update unit tests 2019-03-15 12:14:03 +00:00
SwitchOnSiteCheckouts.t Bug 18936: (follow-up) Add foreign key and scope enhancement to circ rules 2020-02-04 09:56:24 +00:00
TooMany.t Bug 18936: More fixes 2020-02-04 09:56:26 +00:00
dateexpiry.t Bug 7806: [20.05] Fix remaining occurrences of 0000-00-00 2021-03-08 14:26:22 +00:00
issue.t Bug 21301: (QA follow-up) Fix number of tests 2021-01-20 01:47:55 +00:00
transferbook.t Bug 24299: Add Unit test for 'reason' in transferbook 2020-03-20 15:54:58 +00:00
transfers.t Bug 23463: Replace AddItem calls with Koha::Item->store 2020-03-23 09:26:26 +00:00