View | Details | Raw Unified | Return to bug 30410
Collapse All | Expand All

(-)a/t/db_dependent/Koha/BackgroundJob.t (-2 / +2 lines)
Lines 35-41 subtest '_derived_class() tests' => sub { Link Here
35
35
36
    $schema->storage->txn_begin;
36
    $schema->storage->txn_begin;
37
37
38
    my $mapping = Koha::BackgroundJob::type_to_class_mapping;
38
    my $job_object = Koha::BackgroundJob->new();
39
    my $mapping = $job_object->type_to_class_mapping;
39
40
40
    # pick the first
41
    # pick the first
41
    my $type = ( keys %{$mapping} )[0];
42
    my $type = ( keys %{$mapping} )[0];
42
- 

Return to bug 30410