@@ -, +, @@ for after deleting one --- t/db_dependent/Koha/Patron/Categories.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/t/db_dependent/Koha/Patron/Categories.t +++ a/t/db_dependent/Koha/Patron/Categories.t @@ -84,7 +84,7 @@ subtest 'get_expiry_date' => sub { }; $retrieved_category_1->delete; -is( Koha::Patron::Categories->search->count, $nb_of_categories + 2, 'Delete should have deleted the patron category' ); +is( Koha::Patron::Categories->search->count, $nb_of_categories + 1, 'Delete should have deleted the patron category' ); $schema->storage->txn_rollback; --