From 6049aeeacb233c853c0af6238e657dc7142c7696 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 6 Oct 2010 12:54:05 -0400 Subject: [PATCH] fix invalid invocation of GetBranches in test case Signed-off-by: Galen Charlton --- t/db_dependent/SQLHelper.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/SQLHelper.t b/t/db_dependent/SQLHelper.t index 6be0192759..cb26ed121c 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"); -- 2.39.5