Bugzilla – Attachment 30187 Details for
Bug 12457
The module C4::Members.pm needs more unit tests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12457: Allow UT on a non empty database
Bug-12457-Allow-UT-on-a-non-empty-database.patch (text/plain), 1.45 KB, created by
Yohann Dufour
on 2014-07-28 07:34:21 UTC
(
hide
)
Description:
Bug 12457: Allow UT on a non empty database
Filename:
MIME Type:
Creator:
Yohann Dufour
Created:
2014-07-28 07:34:21 UTC
Size:
1.45 KB
patch
obsolete
>From feecb6920cff822564fa3df56c19b19db51e8ed0 Mon Sep 17 00:00:00 2001 >From: Yohann Dufour <dufour.yohann@gmail.com> >Date: Mon, 21 Jul 2014 09:27:17 +0200 >Subject: [PATCH] Bug 12457: Allow UT on a non empty database > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > t/db_dependent/Members/GetAllIssues.t | 2 +- > t/db_dependent/Members/GetPendingIssues.t | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Members/GetAllIssues.t b/t/db_dependent/Members/GetAllIssues.t >index c2791bc..ea756f5 100644 >--- a/t/db_dependent/Members/GetAllIssues.t >+++ b/t/db_dependent/Members/GetAllIssues.t >@@ -18,9 +18,9 @@ $dbh->{AutoCommit} = 0; > $dbh->{RaiseError} = 1; > > $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 items|); > $dbh->do(q|DELETE FROM categories|); > > my $branchcode = 'B'; >diff --git a/t/db_dependent/Members/GetPendingIssues.t b/t/db_dependent/Members/GetPendingIssues.t >index 08051b1..c708f9a 100644 >--- a/t/db_dependent/Members/GetPendingIssues.t >+++ b/t/db_dependent/Members/GetPendingIssues.t >@@ -18,9 +18,9 @@ $dbh->{AutoCommit} = 0; > $dbh->{RaiseError} = 1; > > $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 items|); > $dbh->do(q|DELETE FROM categories|); > > my $branchcode = 'B'; >-- >1.9.1
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 12457
:
29094
|
29173
|
29742
|
29908
|
30116
|
30117
|
30118
|
30187
|
30266
|
30309
|
30310
|
30311