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

(-)a/t/db_dependent/Koha/BackgroundJobs/ErmSushiHarvester.t (-1 / +3 lines)
Lines 86-91 subtest 'enqueue_sushi_harvest_jobs' => sub { Link Here
86
86
87
    $schema->storage->txn_begin;
87
    $schema->storage->txn_begin;
88
88
89
    my $patron = Koha::Patrons->search()->last;
90
    t::lib::Mocks::mock_userenv( { number => $patron->borrowernumber } ); # Is superlibrarian
91
89
    my $usage_data_provider = $builder->build_object(
92
    my $usage_data_provider = $builder->build_object(
90
        { class => 'Koha::ERM::EUsage::UsageDataProviders', value => { name => 'TestProvider' } } );
93
        { class => 'Koha::ERM::EUsage::UsageDataProviders', value => { name => 'TestProvider' } } );
91
94
92
- 

Return to bug 38782