X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=t%2Fdb_dependent%2FILSDI_Services.t;h=d918e43a733d72ec0ec2b7285ced2aba060e3e24;hb=6355791848585f7ef490b1c63f64790b9a783e73;hp=a4335519478a6df2a8fb6469c1fe0cc0c8b01cf7;hpb=84fc8c65186053ea69e46b5c8aac736050e0ac54;p=srvgit diff --git a/t/db_dependent/ILSDI_Services.t b/t/db_dependent/ILSDI_Services.t index a433551947..d918e43a73 100644 --- a/t/db_dependent/ILSDI_Services.t +++ b/t/db_dependent/ILSDI_Services.t @@ -166,8 +166,17 @@ subtest 'GetPatronInfo/GetBorrowerAttributes test for extended patron attributes } } ); - my $members = Test::MockModule->new('C4::Members'); - $members->mock( 'GetMemberAccountBalance', sub { return ( 10, 10, 0 ); } ); + $builder->build( + { + source => 'Accountline', + value => { + borrowernumber => $brwr->{borrowernumber}, + accountno => 1, + accounttype => 'xxx', + amountoutstanding => 10 + } + } + ); # Prepare and send web request for IL-SDI server: my $query = new CGI;