Koha/t/db_dependent/Circulation
Marcel de Rooy b80704aa1b 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>
2017-08-10 16:25:33 -03:00
..
IssuingRules Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00
Branch.t Bug 19070: Fix Circulation/Branch.t 2017-08-10 16:25:33 -03:00
CalcDateDue.t Bug 18226 - Remove "use Test::DBIx::Class" instantiations' dangerous code duplication. Replace mock_dbh 2 2017-06-05 17:52:47 -03:00
CalcFine.t
CheckIfIssuedToPatron.t Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00
CheckValidBarcode.t
dateexpiry.t
GetHardDueDate.t Bug 16344: Fix test in GetHardDueDate.t 2017-05-24 12:29:43 -03:00
GetPendingOnSiteCheckouts.t Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00
GetTopIssues.t Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00
IsItemIssued.t Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00
issue.t Bug 19071: Fix Circulation/issue.t 2017-08-10 16:25:33 -03:00
MarkIssueReturned.t
NoIssuesChargeGuarantees.t
OfflineOperation.t
Returns.t Bug 18966: Do not deal with duplicate issue_id on checkin 2017-07-26 13:50:57 -03:00
StoreLastBorrower.t Bug 16966: Koha::Patrons - Move AnonymiseIssueHistory tests 2017-03-03 17:20:02 +00:00
SwitchOnSiteCheckouts.t Bug 17680: C4::Circulation - Remove GetItemIssue, simple calls 2017-07-10 12:06:37 -03:00
TooMany.t Bug 8361: Do not allow checkouts if no rules are defined 2017-01-20 13:41:59 +00:00
transfers.t Bug 14187: branchtransfer needs a primary key (id) for DBIx and common sense. 2017-01-13 12:20:11 +00:00