From 3e2eb3ff87d0cc4c6ac9140af7cb35d418d2807f Mon Sep 17 00:00:00 2001
From: Nick Clemens <nick@bywatersolutions.com>
Date: Wed, 2 Nov 2022 19:27:38 +0000
Subject: [PATCH] Bug 15869: (follow-up) Don't mock undef return value

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
---
 t/db_dependent/ImportBatch.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/db_dependent/ImportBatch.t b/t/db_dependent/ImportBatch.t
index a745861bd6..1ff0eddd33 100755
--- a/t/db_dependent/ImportBatch.t
+++ b/t/db_dependent/ImportBatch.t
@@ -333,7 +333,7 @@ subtest "BatchCommitRecords overlay into framework" => sub {
     t::lib::Mocks::mock_config( 'enable_plugins', 0 );
     my $mock_import = Test::MockModule->new("C4::ImportBatch");
     my $biblio = $builder->build_sample_biblio;
-    $mock_import->mock( _get_commit_action => sub { return ('replace',undef,$biblio->biblionumber); } );
+    $mock_import->mock( _get_commit_action => sub { return ('replace','ignore',$biblio->biblionumber); } );
 
     my $import_batch = {
         matcher_id => 2,
-- 
2.30.2