Bugzilla – Attachment 89400 Details for
Bug 22860
Selenium tests authentication.t does not remove all data it created
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22860: Remove 1 remaining patron after authentication.t is ran
Bug-22860-Remove-1-remaining-patron-after-authenti.patch (text/plain), 1.20 KB, created by
Jonathan Druart
on 2019-05-06 20:39:27 UTC
(
hide
)
Description:
Bug 22860: Remove 1 remaining patron after authentication.t is ran
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-05-06 20:39:27 UTC
Size:
1.20 KB
patch
obsolete
>From d7d7fc3441bad3b742fd56455ca1e46cba56eb18 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 >--- > 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 b3738a561d..a992478785 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22860
:
89400
|
97771
|
98615