From a6ed6b7f4d3cb7cc2a0201933f707092993e13bb Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 3 Apr 2017 10:07:28 -0300 Subject: [PATCH] Bug 18242: 16.05 version - 16.11.x adaptation - Old::Checkouts vs OldIssues --- t/db_dependent/Circulation/Returns.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Circulation/Returns.t b/t/db_dependent/Circulation/Returns.t index ef95346d55..00c35a73a0 100644 --- a/t/db_dependent/Circulation/Returns.t +++ b/t/db_dependent/Circulation/Returns.t @@ -81,7 +81,7 @@ subtest 'Handle ids duplication' => sub { $builder->build({ source => 'OldIssue', value => { issue_id => $checkout->issue_id } }); my @a = AddReturn( $item->{barcode} ); - my $old_checkout = Koha::Old::Checkouts->find( $checkout->issue_id ); + my $old_checkout = Koha::OldIssues->find( $checkout->issue_id ); isnt( $old_checkout->itemnumber, $item->{itemnumber}, 'If an item is checked-in, it should be moved to old_issues even if the issue_id already existed in the table' ); }; -- 2.11.0