@@ -, +, @@ --- t/db_dependent/ArticleRequests.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/t/db_dependent/ArticleRequests.t +++ a/t/db_dependent/ArticleRequests.t @@ -78,7 +78,9 @@ ok( $patron->id, 'Koha::Patron created' ); my $patron_2 = $builder->build({ source => 'Borrower', value => { flags => 0 } }); $patron_2 = Koha::Patrons->find( $patron_2->{borrowernumber} ); -my $nb_article_requests = Koha::ArticleRequests->count; +# Clear current article requests +Koha::ArticleRequests->delete; +my $nb_article_requests = 0; # store Koha::Notice::Messages->delete; --