[Koha-patches] [PATCH] fix invalid invocation of GetBranches in test case

Galen Charlton gmcharlt at gmail.com
Wed Oct 6 23:44:56 CEST 2010


Signed-off-by: Galen Charlton <gmcharlt at gmail.com>
---
 t/db_dependent/SQLHelper.t |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/t/db_dependent/SQLHelper.t b/t/db_dependent/SQLHelper.t
index 6be0192..cb26ed1 100755
--- a/t/db_dependent/SQLHelper.t
+++ b/t/db_dependent/SQLHelper.t
@@ -19,7 +19,7 @@ use C4::Branch;
 my @categories=C4::Category->all;
 my $insert;
 ok(($insert=InsertInTable("branches",{branchcode=>"ZZZZ",branchname=>"Brancheinconnue",city=>" ",zipcode=>" "},1))==0,"AddBranch (Insert In Table with primary key defined)");
-my $branches=C4::Branch->GetBranches;
+my $branches=C4::Branch::GetBranches;
 my @branchcodes=keys %$branches;
 my ($borrid, $borrtmp);
 ok($borrid=InsertInTable("borrowers",{firstname=>"Jean",surname=>"Valjean",city=>" ",zipcode=>" ",email=>"email",categorycode=>$categories[0]->{categorycode}, branchcode=>$branchcodes[0]}),"Insert In Table");
-- 
1.7.0



More information about the Koha-patches mailing list