sub enqueue {
my ( $self, $args) = @_;
# FIXME: no $args validation
$self->SUPER::enqueue({
job_size => 0, # TODO Unknown for now?
job_args => $args,
$schema->storage->txn_begin;
my $job_id = Koha::BackgroundJob::StageMARCForImport->new->enqueue();
my $job_id = Koha::BackgroundJob::StageMARCForImport->new->enqueue({});
my $job = Koha::BackgroundJobs->find($job_id)->_derived_class;
is( $job->size, 0, 'Size is correct' );
-