]> git.koha-community.org Git - koha.git/commit
Bug 19463: (follow-up) Cosmetic changes
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 18 Oct 2017 11:59:06 +0000 (13:59 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 18 Oct 2017 13:08:03 +0000 (10:08 -0300)
commite772277a8aa7402f537ddb3c0886fb9dc3ce2d91
tree63330fcc035194df1f4b07ad213216604b4e3d6a
parent0e9edcd3be5ddfcd15c5924166ec509c6445f97b
Bug 19463: (follow-up) Cosmetic changes

String::Random version 0.26 (on Jessie) does not yet support the rand_gen
parameter (0.27 does, newest is 0.29 on CPAN now).
So alt_rand is only used in determining the size on Jessie.
That might be enough though.
Adding a documention line in this regard.

Removing the obsolete max parameter.

Note: I timed alt_rand for the creation of a new Bytes::Random::Secure
object each time. But each call is about 0.1 milliseconds. So that
should be fine.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/lib/TestBuilder.pm