Lines 1193-1202
subtest 'Checking out' => sub {
Link Here
|
1193 |
}); |
1193 |
}); |
1194 |
my $library = $builder->build_object({ class => 'Koha::Libraries' }); |
1194 |
my $library = $builder->build_object({ class => 'Koha::Libraries' }); |
1195 |
my $biblio = $builder->build_sample_biblio(); |
1195 |
my $biblio = $builder->build_sample_biblio(); |
1196 |
my $patron = $builder->build_object({ |
1196 |
my $patron = $builder->build_object({ class => 'Koha::Patrons' }); |
1197 |
class => 'Koha::Patrons', |
|
|
1198 |
value => { category_type => 'x' } |
1199 |
}); |
1200 |
my $request = $builder->build_object({ |
1197 |
my $request = $builder->build_object({ |
1201 |
class => 'Koha::Illrequests', |
1198 |
class => 'Koha::Illrequests', |
1202 |
value => { |
1199 |
value => { |
Lines 1316-1325
subtest 'Checking out with custom due date' => sub {
Link Here
|
1316 |
$schema->storage->txn_begin; |
1313 |
$schema->storage->txn_begin; |
1317 |
|
1314 |
|
1318 |
my $library = $builder->build_object({ class => 'Koha::Libraries' }); |
1315 |
my $library = $builder->build_object({ class => 'Koha::Libraries' }); |
1319 |
my $patron = $builder->build_object({ |
1316 |
my $patron = $builder->build_object({ class => 'Koha::Patrons' }); |
1320 |
class => 'Koha::Patrons', |
|
|
1321 |
value => { category_type => 'x' } |
1322 |
}); |
1323 |
my $biblio = $builder->build_sample_biblio(); |
1317 |
my $biblio = $builder->build_sample_biblio(); |
1324 |
my $itemtype_loanable = $builder->build_object({ |
1318 |
my $itemtype_loanable = $builder->build_object({ |
1325 |
class => 'Koha::ItemTypes', |
1319 |
class => 'Koha::ItemTypes', |
1326 |
- |
|
|