Lines 189-198
subtest 'hold_patron_name() tests' => sub {
Link Here
|
189 |
|
189 |
|
190 |
subtest 'Lastseen response' => sub { |
190 |
subtest 'Lastseen response' => sub { |
191 |
|
191 |
|
|
|
192 |
plan tests => 6; |
193 |
|
192 |
my $schema = Koha::Database->new->schema; |
194 |
my $schema = Koha::Database->new->schema; |
193 |
$schema->storage->txn_begin; |
195 |
$schema->storage->txn_begin; |
194 |
|
196 |
|
195 |
plan tests => 6; |
197 |
t::lib::Mocks::mock_preference( 'TrackLastPatronActivityTriggers', 'connection' ); |
|
|
198 |
|
196 |
my $builder = t::lib::TestBuilder->new(); |
199 |
my $builder = t::lib::TestBuilder->new(); |
197 |
my $branchcode = $builder->build({ source => 'Branch' })->{branchcode}; |
200 |
my $branchcode = $builder->build({ source => 'Branch' })->{branchcode}; |
198 |
my ( $response, $findpatron ); |
201 |
my ( $response, $findpatron ); |
199 |
- |
|
|