Bugzilla – Attachment 65321 Details for
Bug 19003
Add a TestBuilder default for borrowers.login_attempts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19003: Fix account lockouts in SIP/Message.t
Bug-19003-Fix-account-lockouts-in-SIPMessaget.patch (text/plain), 1.21 KB, created by
Marcel de Rooy
on 2017-07-29 15:09:42 UTC
(
hide
)
Description:
Bug 19003: Fix account lockouts in SIP/Message.t
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-07-29 15:09:42 UTC
Size:
1.21 KB
patch
obsolete
>From 583e5202691be409046fbaeabbf6272900fa0a2d Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Sat, 29 Jul 2017 17:06:52 +0200 >Subject: [PATCH] Bug 19003: Fix account lockouts in SIP/Message.t >Content-Type: text/plain; charset=utf-8 > >Follow-up for bug 18314. >Bug 18314 causes t/db/SIP/Message.t to fail (quite often) since >testbuilder fills login_attempts with a random number. >Trivial fix. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/SIP/Message.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/SIP/Message.t b/t/db_dependent/SIP/Message.t >index e738405..15eb206 100755 >--- a/t/db_dependent/SIP/Message.t >+++ b/t/db_dependent/SIP/Message.t >@@ -82,6 +82,7 @@ sub test_request_patron_status_v2 { > my $patron1 = $builder->build({ > source => 'Borrower', > value => { >+ login_attempts => 0, > password => hash_password( PATRON_PW ), > }, > }); >@@ -153,6 +154,7 @@ sub test_request_patron_info_v2 { > my $patron2 = $builder->build({ > source => 'Borrower', > value => { >+ login_attempts => 0, > password => hash_password( PATRON_PW ), > }, > }); >-- >2.1.4
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 19003
:
65321
|
65328
|
65329
|
65342