Bug 15869: (follow-up) Don't mock undef return value
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit ab75204429)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
This commit is contained in:
parent
69150d1fab
commit
65d7d2c646
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue