Lines 504-512
subtest 'Renewal related tests' => sub {
Link Here
|
504 |
$schema->storage->txn_begin; |
504 |
$schema->storage->txn_begin; |
505 |
|
505 |
|
506 |
my $patron = $builder->build_object( { class => 'Koha::Patrons' } ); |
506 |
my $patron = $builder->build_object( { class => 'Koha::Patrons' } ); |
507 |
my $staff = $builder->build_object( { class => 'Koha::Patrons' } ); |
507 |
my $staff = $builder->build_object( { class => 'Koha::Patrons' } ); |
508 |
my $item = $builder->build_object({ class => 'Koha::Items' }); |
508 |
my $item = $builder->build_sample_item; |
509 |
my $issue = $builder->build_object( |
509 |
my $issue = $builder->build_object( |
510 |
{ |
510 |
{ |
511 |
class => 'Koha::Checkouts', |
511 |
class => 'Koha::Checkouts', |
512 |
value => { |
512 |
value => { |
Lines 525-530
subtest 'Renewal related tests' => sub {
Link Here
|
525 |
debit_type_code => "OVERDUE", |
525 |
debit_type_code => "OVERDUE", |
526 |
status => "UNRETURNED", |
526 |
status => "UNRETURNED", |
527 |
amountoutstanding => 0, |
527 |
amountoutstanding => 0, |
|
|
528 |
amount => 0, |
528 |
interface => 'commandline', |
529 |
interface => 'commandline', |
529 |
})->store; |
530 |
})->store; |
530 |
|
531 |
|
531 |
- |
|
|