Koha-clms/t/db_dependent/Circulation
Marcel de Rooy e3d4b94d67 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: Mason James <mtj@kohaaloha.com>
2017-10-24 16:42:06 +13:00
..
IssuingRules Bug 17592: Remove itemtype-related maxsuspensiondays.t warnings 2016-12-12 14:54:09 +13:00
AnonymiseIssueHistory.t Bug 16155: Adjust a few other tests 2016-05-04 13:47:58 +00:00
Branch.t Bug 16404: Fix Circulation/Branch.t (tests 8-11) 2016-05-03 15:21:31 +00:00
CalcDateDue.t Bug 12787: (QA followup) small QA fixes 2016-04-22 00:54:35 +00:00
CalcFine.t Bug 16155: Adjust a few other tests 2016-05-04 13:47:58 +00:00
CheckIfIssuedToPatron.t Bug 17653: Remove itemtype-related t/db_dependent/Circulation* warnings 2016-12-12 14:54:13 +13:00
CheckValidBarcode.t Bug 15629: Koha::Libraries - Remove ModBranch 2016-02-24 03:55:06 +00:00
GetHardDueDate.t Bug 12787: Reorganise t/db_dependent files 2016-04-22 00:54:35 +00:00
GetIssues.t Bug 17636: Remove itemtype-related GetIssues.t warnings 2016-12-12 14:54:12 +13:00
GetTopIssues.t Bug 11998: Use t::lib::Mocks::mock_preference in tests 2016-03-15 07:08:28 +00:00
IsItemIssued.t Bug 17653: Remove itemtype-related t/db_dependent/Circulation* warnings 2016-12-12 14:54:13 +13:00
MarkIssueReturned.t Bug 17430: Make MarkIssueReturned.t create its own data 2016-10-22 14:57:56 +02:00
NoIssuesChargeGuarantees.t Bug 16405: Fix Circulation/NoIssuesChargeGuarantees.t test 2 2016-05-04 14:23:34 +00:00
OfflineOperation.t Bug 12787: Reorganise t/db_dependent files 2016-04-22 00:54:35 +00:00
Returns.t Bug 18966: Do not deal with duplicate issue_id on checkin 2017-07-25 11:51:43 +12:00
TooMany.t Bug 8361: Do not allow checkouts if no rules are defined 2017-02-22 21:57:36 +13:00
dateexpiry.t Bug 12787: Reorganise t/db_dependent files 2016-04-22 00:54:35 +00:00
issue.t Bug 19071: Fix Circulation/issue.t 2017-10-24 16:42:06 +13:00
transfers.t Bug 17653: Remove itemtype-related t/db_dependent/Circulation* warnings 2016-12-12 14:54:13 +13:00