Bugzilla – Attachment 65787 Details for
Bug 19071
Fix Circulation/issue.t and Members/IssueSlip.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19071: Fix Members/IssueSlip.t
Bug-19071-Fix-MembersIssueSlipt.patch (text/plain), 1.20 KB, created by
Marcel de Rooy
on 2017-08-10 07:25:14 UTC
(
hide
)
Description:
Bug 19071: Fix Members/IssueSlip.t
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-08-10 07:25:14 UTC
Size:
1.20 KB
patch
obsolete
>From aded164e59eb7b2cac4587246dabfe48123ba2ae Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 10 Aug 2017 09:24:08 +0200 >Subject: [PATCH] Bug 19071: Fix Members/IssueSlip.t >Content-Type: text/plain; charset=utf-8 > >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. > >Test plan: >Run t/db_dependent/Members/IssueSlip.t >--- > t/db_dependent/Members/IssueSlip.t | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/t/db_dependent/Members/IssueSlip.t b/t/db_dependent/Members/IssueSlip.t >index c22cb5a..438fc3c 100644 >--- a/t/db_dependent/Members/IssueSlip.t >+++ b/t/db_dependent/Members/IssueSlip.t >@@ -41,7 +41,6 @@ my $dbh = C4::Context->dbh; > $dbh->do(q|DELETE FROM issues|); > $dbh->do(q|DELETE FROM borrowers|); > $dbh->do(q|DELETE FROM items|); >-$dbh->do(q|DELETE FROM branches|); > $dbh->do(q|DELETE FROM biblio|); > $dbh->do(q|DELETE FROM categories|); > $dbh->do(q|DELETE FROM letter|); >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19071
:
65786
|
65787
|
65788
|
65825
|
65826
|
65843
|
65844