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:
Katrin Fischer 2024-03-18 16:58:21 +00:00
parent a3beaa24fa
commit b374358e84
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -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');