]> git.koha-community.org Git - koha.git/commit
Bug 19071: Fix Circulation/issue.t
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 10 Aug 2017 07:13:44 +0000 (09:13 +0200)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 1 Oct 2017 21:33:20 +0000 (23:33 +0200)
commita51fad02e41c354a0be1fcdca5dbd911d9b26b42
tree05f2a7551472dda6a2bc4333bb52eb88d7baab22
parenta8ae524ffea9bc12de6196e1937155300faccb1e
Bug 19071: Fix Circulation/issue.t

Resolve:
DBD::mysql::db do failed: Cannot delete or update a parent row: a foreign key constraint fails (`koha_master`.`clubs`, CONSTRAINT `clubs_ibfk_2` FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`)) [for Statement "DELETE FROM branches"] at t/db_dependent/Circulation/issue.t line 65.

Cause:
See also bug 19070.
We do not need to delete all branches here.

Test plan:
Run t/db_dependent/Circulation/issue.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit b80704aa1b763c7a29c3b95c162dfb12ded8faa2)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 9f8b896d707905043f75a3a86ab29c3ed2eaffa6)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
t/db_dependent/Circulation/issue.t