Bugzilla – Attachment 65844 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.44 KB, created by
Jonathan Druart
on 2017-08-10 18:43:10 UTC
(
hide
)
Description:
Bug 19071: Fix Members/IssueSlip.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-08-10 18:43:10 UTC
Size:
1.44 KB
patch
obsolete
>From 9b0c839d6022c2605cde2877ffb52d1e63707ce3 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 > >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> >--- > 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 c22cb5a446..438fc3ceb7 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.11.0
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