@@ -, +, @@ --- t/db_dependent/Koha/Hold.t | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- a/t/db_dependent/Koha/Hold.t +++ a/t/db_dependent/Koha/Hold.t @@ -867,7 +867,7 @@ subtest 'cancellation_requestable_from_opac() tests' => sub { subtest 'cancel() tests' => sub { - plan tests => 12; + plan tests => 11; $schema->storage->txn_begin; @@ -947,8 +947,6 @@ subtest 'cancel() tests' => sub { $get_prepared_letter_called = 0; $hold->cancel({ notify_patron => 1 }); - is( $get_prepared_letter_called, 0, 'GetPreparedLetter not called if notify_patron passed and no cancellation_reason passed' ); - isnt( $hold->cancellationdate, undef, 'cancellationdate gets set to the passed value' ); is( $hold->priority, 0, 'priority gets set to 0' ); is( $hold->cancellation_reason, undef, 'cancellation_reason not passed' ); --