Bugzilla – Attachment 108571 Details for
Bug 23816
Allow to have different password strength and length settings for different patron categories
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23816: Set default value in tests
Bug-23816-Set-default-value-in-tests.patch (text/plain), 897 bytes, created by
Jonathan Druart
on 2020-08-19 07:01:22 UTC
(
hide
)
Description:
Bug 23816: Set default value in tests
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-08-19 07:01:22 UTC
Size:
897 bytes
patch
obsolete
>From 8d4a1bf5d60c3671c054d93554419cc8848b511a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 19 Aug 2020 08:48:19 +0200 >Subject: [PATCH] Bug 23816: Set default value in tests > >We tell TestBuilder to generate the categories with NULL (and rely on >the sysprefs) >--- > t/lib/TestBuilder.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/lib/TestBuilder.pm b/t/lib/TestBuilder.pm >index 45646206ba..9163a31958 100644 >--- a/t/lib/TestBuilder.pm >+++ b/t/lib/TestBuilder.pm >@@ -559,6 +559,8 @@ sub _gen_default_values { > reservefee => 0, > # Not X, used for statistics > category_type => sub { return [ qw( A C S I P ) ]->[int(rand(5))] }, >+ min_password_length => undef, >+ require_strong_password => undef, > }, > Branch => { > pickup_location => 0, >-- >2.20.1
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 23816
:
103099
|
103100
|
103101
|
103102
|
103103
|
103104
|
103108
|
103109
|
103110
|
103111
|
103112
|
103113
|
103805
|
103806
|
103807
|
103808
|
103809
|
103810
|
107158
|
107159
|
107160
|
107161
|
107162
|
107163
|
108554
|
108555
|
108556
|
108557
|
108558
|
108559
|
108571
|
108572
|
109243
|
109244
|
109245
|
109249
|
109250
|
109251
|
109252
|
109253
|
109254
|
109255
|
109256
|
109257
|
109520
|
109521
|
109522
|
109523
|
109524
|
109525
|
109526
|
109527
|
109528
|
109833
|
109834