set_userenv($holdingbranch);
my $issue = AddIssue( $patron_1->unblessed, $item->{barcode} );
- is( ref($issue), 'Koha::Checkout' ); # FIXME Should be Koha::Checkout
+ is( ref($issue), 'Koha::Checkout', 'AddIssue should return a Koha::Checkout object' );
my ( $error, $question, $alerts );
set_userenv($holdingbranch);
- my $ref_issue = 'Koha::Checkout'; # FIXME Should be Koha::Checkout
+ my $ref_issue = 'Koha::Checkout';
my $issue = AddIssue( $patron_1, $item->{barcode} );
my ( $error, $question, $alerts );