From fb6d4deade296f071f3d57216d7c3def3c6b951e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 6 May 2019 15:37:38 -0500 Subject: [PATCH] Bug 22860: Remove 1 remaining patron after authentication.t is ran Test plan: 0/ Do not apply the patch 1/ select count(*) from borrowers; 2/ Run the tests => Notice that you have 1 more patron 3/ Apply the patch and repeat 1/ and 2/ => Notice that you have the same number of patrons before and after the tests Signed-off-by: Hayley Mapley Signed-off-by: Katrin Fischer --- t/db_dependent/selenium/authentication.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/db_dependent/selenium/authentication.t b/t/db_dependent/selenium/authentication.t index 4b8ae3c960..359cac1cef 100644 --- a/t/db_dependent/selenium/authentication.t +++ b/t/db_dependent/selenium/authentication.t @@ -67,6 +67,8 @@ SKIP: { $patron->flags(1)->store; # superlibrarian permission $s->auth( $patron->userid, $password ); like( $driver->get_title, qr(Koha staff client), 'Patron with flags superlibrarian should be able to login' ); + + push @data_to_cleanup, $patron, $patron->category, $patron->library; }; subtest 'OPAC interface authentication' => sub { -- 2.11.0