Bug 18999 (follow-up) - Fix failing test
Test was using methods not present in 16.11.x, fixed by rewriting to old API.
This commit is contained in:
parent
a84c842f09
commit
389dd63c4e
|
|
@ -417,7 +417,7 @@ my $fund = AddBudget(
|
|||
}
|
||||
);
|
||||
|
||||
my $vendor = Koha::Acquisition::Bookseller->new(
|
||||
my $vendorid = C4::Bookseller::AddBookseller(
|
||||
{
|
||||
name => "test vendor",
|
||||
address1 => "test address",
|
||||
|
|
@ -425,9 +425,7 @@ my $vendor = Koha::Acquisition::Bookseller->new(
|
|||
active => 1,
|
||||
deliverytime => 5,
|
||||
}
|
||||
)->store;
|
||||
|
||||
my $vendorid = $vendor->id;
|
||||
);
|
||||
|
||||
my $basketnumber = C4::Acquisition::NewBasket( $vendorid, 1 );
|
||||
my ( $biblio, $biblioitem ) = C4::Biblio::AddBiblio( MARC::Record->new, '' );
|
||||
|
|
|
|||
Loading…
Reference in New Issue