Bug 35539: (QA follow-up) Remove defer_marc_save from Elasticsearch.t
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
a3beaa24fa
commit
b374358e84
1 changed files with 1 additions and 1 deletions
|
@ -1031,7 +1031,7 @@ subtest 'marc_records_to_documents should set the "available" field' => sub {
|
|||
$marc_record_1->append_fields(
|
||||
MARC::Field->new('245', '', '', a => 'Title'),
|
||||
);
|
||||
my ($biblionumber) = C4::Biblio::AddBiblio($marc_record_1, '', { defer_marc_save => 1 });
|
||||
my ($biblionumber) = C4::Biblio::AddBiblio( $marc_record_1, '' );
|
||||
|
||||
my $docs = $see->marc_records_to_documents([$marc_record_1]);
|
||||
is_deeply($docs->[0]->{available}, \0, 'a biblio without items is not available');
|
||||
|
|
Loading…
Reference in a new issue