]> git.koha-community.org Git - koha.git/commit
Bug 19071: Fix Members/IssueSlip.t
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 10 Aug 2017 07:24:08 +0000 (09:24 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 29 Sep 2017 09:44:27 +0000 (11:44 +0200)
commit3cdea3aaf6194cc9e448a424e2646867e9c3ddd1
treeff3a66141c0dca5be5bd91cf9a860f3eca578f21
parent9f8b896d707905043f75a3a86ab29c3ed2eaffa6
Bug 19071: Fix Members/IssueSlip.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/Members/IssueSlip.t line 44.

We do not need to delete all branches here.

Note: The test still needs attention for noisy userenv warns, but it should
pass now.

Test plan:
Run t/db_dependent/Members/IssueSlip.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 8651016ce8e959b5b6ca19ccddbb3f5342b5d456)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Members/IssueSlip.t