Bug 19463: Additional changes to gen_text
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 17 Oct 2017 14:57:16 +0000 (16:57 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 17 Oct 2017 15:16:48 +0000 (12:16 -0300)
commit41e63c44e06fa17959b7cd1c9035c75b2577c633
treeeb24201f444309cb5700bc6d261123065ba2db71
parent708d02047d67bc5f8d5b43690c6967cc5e191f82
Bug 19463: Additional changes to gen_text

Use Bytes::Random::Secure instead of perl rand.
Return a string from 50 to 100% of $size.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/lib/TestBuilder.pm