Lines 151-157
subtest 'Test Koha::Checkout::claim_returned, mark as returned' => sub {
Link Here
|
151 |
my $checkout2 = Koha::Checkouts->find( $checkout->id ); |
151 |
my $checkout2 = Koha::Checkouts->find( $checkout->id ); |
152 |
is( $checkout2, undef, "Checkout is not longer in the issues table"); |
152 |
is( $checkout2, undef, "Checkout is not longer in the issues table"); |
153 |
$checkout2 = Koha::Old::Checkouts->find( $checkout->id ); |
153 |
$checkout2 = Koha::Old::Checkouts->find( $checkout->id ); |
154 |
is( $checkout2->id, $checkout->id, "Checkout was foudn in the old_issues table"); |
154 |
is( $checkout2->id, $checkout->id, "Checkout was found in the old_issues table"); |
155 |
}; |
155 |
}; |
156 |
|
156 |
|
157 |
$schema->storage->txn_rollback; |
157 |
$schema->storage->txn_rollback; |
158 |
- |
|
|