|
Lines 153-162
subtest 'pickup_locations' => sub {
Link Here
|
| 153 |
|
153 |
|
| 154 |
# Cleanup database |
154 |
# Cleanup database |
| 155 |
Koha::Holds->search->delete; |
155 |
Koha::Holds->search->delete; |
|
|
156 |
$dbh->do('DELETE FROM issues'); |
| 156 |
Koha::Patrons->search->delete; |
157 |
Koha::Patrons->search->delete; |
| 157 |
Koha::Items->search->delete; |
158 |
Koha::Items->search->delete; |
| 158 |
Koha::Libraries->search->delete; |
159 |
Koha::Libraries->search->delete; |
| 159 |
$dbh->do('DELETE FROM issues'); |
|
|
| 160 |
Koha::CirculationRules->search->delete; |
160 |
Koha::CirculationRules->search->delete; |
| 161 |
Koha::CirculationRules->set_rules( |
161 |
Koha::CirculationRules->set_rules( |
| 162 |
{ |
162 |
{ |
|
Lines 331-337
subtest 'pickup_locations' => sub {
Link Here
|
| 331 |
}; |
331 |
}; |
| 332 |
|
332 |
|
| 333 |
subtest 'renewal_branchcode' => sub { |
333 |
subtest 'renewal_branchcode' => sub { |
| 334 |
plan tests => 15; |
334 |
plan tests => 13; |
| 335 |
|
335 |
|
| 336 |
$schema->storage->txn_begin; |
336 |
$schema->storage->txn_begin; |
| 337 |
|
337 |
|
| 338 |
- |
|
|