Bug 25913: Get the correct return of AddBiblio
We need the parenthesis to get the biblionumber and not the biblioitemnumber, in case there is a discrepancy. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
64c939ca80
commit
08386fabcb
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ subtest 'get_coins and get_openurl' => sub {
|
|||
|
||||
my $record = MARC::Record->new();
|
||||
$record->append_fields( MARC::Field->new('100','','','a' => 'Author 2'), MARC::Field->new('880','','','a' => 'Something') );
|
||||
my $biblionumber = C4::Biblio::AddBiblio($record, '');
|
||||
my ( $biblionumber ) = C4::Biblio::AddBiblio($record, '');
|
||||
my $biblio_no_title = Koha::Biblios->find($biblionumber);
|
||||
is(
|
||||
$biblio_no_title->get_coins,
|
||||
|
|
Loading…
Reference in a new issue