Bug 16170: [QA Follow-up] Adjust Items.t
commit43738270c94073cffe56cae02be855b3d5789176
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 1 Apr 2016 07:24:04 +0000 (1 09:24 +0200)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 16 May 2016 07:52:01 +0000 (16 09:52 +0200)
tree73fb83ad31f05092e7094703f738cf8ca92b378d
parentaea742b87b91c71a0b0ea3dcb0938eb9fe65900d
Bug 16170: [QA Follow-up] Adjust Items.t

Items.t inserts an item via biblioitem not correctly linked to biblio.
The new foreign key constraint does not allow that.
Actually, we should be choosing to either remove biblioitems from Koha or
remove biblionumber from items.

Note: This seems to be the only case where an item is added this way.

Test plan:
Run Items.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 1608b89b7ff90ae1cc307d9f096ddaab29ba2192)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
t/db_dependent/Items.t