[Patches] [PATCH] [SIGNED-OFF] Bug 7333 - modifying Members.t to use a

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Tue Dec 13 22:06:01 NZDT 2011


From: Liz Rea <wizzyrea at gmail.com>
Date: Wed, 7 Dec 2011 16:32:11 -0600
Subject: [PATCH] [SIGNED-OFF] Bug 7333 - modifying Members.t to use a
 branchcode that exists in the sample data

To test:
Create a fresh koha db with all of the sample data (if you have one that has the sample branches in it, that will work too)
run the test: prove t/db_dependent/Members.t

All subtests should complete.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
All tests complete successfully with my database created from
sample data and with the database provided on the bug.
---
 t/db_dependent/Members.t |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/t/db_dependent/Members.t b/t/db_dependent/Members.t
index c1e4d85..420f7f3 100755
--- a/t/db_dependent/Members.t
+++ b/t/db_dependent/Members.t
@@ -18,7 +18,7 @@ my $CARDNUMBER   = 'TESTCARD01';
 my $FIRSTNAME    = 'Marie';
 my $SURNAME      = 'Mcknight';
 my $CATEGORYCODE = 'S';
-my $BRANCHCODE   = 's';
+my $BRANCHCODE   = 'CPL';
 
 my $CHANGED_FIRSTNAME = "Marry Ann";
 my $EMAIL             = "Marie\@email.com";
-- 
1.7.5.4


More information about the Patches mailing list