Bug 26581: (follow-up) Skip merge when deleting authority
Tests failing, seems to be because the indexes haven't been created yet. When deleting authority we perform a 'merge' where we search for biblios containing the authority. Since these are simply tets we can skip this step, avoid the search, and avoid a crash Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
03742a1e24
commit
80c3e54316
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ subtest 'Test indexer calls' => sub {
|
|||
} [$engine,"C4::AuthoritiesMarc"], "index_records is called for $engine is called when adding authority";
|
||||
|
||||
warnings_are{
|
||||
$authid = DelAuthority({ authid => $authid });
|
||||
$authid = DelAuthority({ authid => $authid, skip_merge => 1 });
|
||||
} [$engine,"C4::AuthoritiesMarc"], "index_records is called for $engine is called when adding authority";
|
||||
|
||||
my $biblio;
|
||||
|
|
Loading…
Reference in a new issue