1 package KohaTest::ImportBatch::getImportBatch;
2 use base qw( KohaTest::ImportBatch );
14 sub something : Test( 2 ) {
17 my $batch_id = $self->add_import_batch();
18 ok( $batch_id, 'we have a batch_id' );
20 my $import_record_id = 0;
22 my $marc_record = MARC::Record->new();
24 my @import_item_ids = C4::ImportBatch::AddItemsToImportBiblio( $batch_id, $import_record_id, $marc_record );
25 is( scalar( @import_item_ids ), 0, 'none inserted' );