Bug 16911 [QA Followup] - Fix number of categories to look for after deleting one

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Kyle M Hall 2016-09-09 09:47:33 +00:00
parent 07c246ba78
commit dc847cabdf
1 changed files with 1 additions and 1 deletions

View File

@ -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;