Lines 46-51
subtest 'store' => sub {
Link Here
|
46 |
|
46 |
|
47 |
$schema->storage->txn_begin; |
47 |
$schema->storage->txn_begin; |
48 |
|
48 |
|
|
|
49 |
my $patron = Koha::Patrons->search()->last; |
50 |
t::lib::Mocks::mock_userenv( { number => $patron->borrowernumber } ); # Is superlibrarian |
51 |
|
49 |
my $usage_data_provider = $builder->build_object( |
52 |
my $usage_data_provider = $builder->build_object( |
50 |
{ class => 'Koha::ERM::EUsage::UsageDataProviders', value => { name => 'TestProvider' } } ); |
53 |
{ class => 'Koha::ERM::EUsage::UsageDataProviders', value => { name => 'TestProvider' } } ); |
51 |
$usage_data_provider->{report_type} = 'TR_J1'; |
54 |
$usage_data_provider->{report_type} = 'TR_J1'; |
52 |
- |
|
|