Bug 34258: (QA follow-up) Tidy the test
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
5d0b4b4433
commit
328baf44b4
1 changed files with 10 additions and 8 deletions
|
@ -329,9 +329,11 @@ subtest renew => sub {
|
|||
);
|
||||
t::lib::Mocks::mock_userenv( { branchcode => $library->branchcode } );
|
||||
|
||||
my $item = $builder->build_sample_item({
|
||||
my $item = $builder->build_sample_item(
|
||||
{
|
||||
library => $library->branchcode,
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
AddIssue( $patron->unblessed, $item->barcode, undef, 0 );
|
||||
my $checkout = $item->checkout;
|
||||
|
|
Loading…
Reference in a new issue