@@ -, +, @@ --- t/db_dependent/Koha/Account.t | 3 +++ 1 file changed, 3 insertions(+) --- a/t/db_dependent/Koha/Account.t +++ a/t/db_dependent/Koha/Account.t @@ -856,6 +856,9 @@ subtest 'pay() handles lost items when paying by amount ( not specifying the los plan tests => 4; $schema->storage->txn_begin; + + # Enable AccountAutoReconcile + t::lib::Mocks::mock_preference( 'AccountAutoReconcile', 1 ); my $patron = $builder->build_object( { class => 'Koha::Patrons' } ); my $library = $builder->build_object( { class => 'Koha::Libraries' } ); --