]> git.koha-community.org Git - koha.git/commit
Bug 14195: TestBuilder - A random string should not be longer than the DB field
authorJonathan Druart <jonathan.druart@koha-community.org>
Wed, 13 May 2015 14:39:59 +0000 (16:39 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 20 May 2015 14:05:27 +0000 (11:05 -0300)
commitea41ef4ec97c4beabb77e3747a760211078c3cdb
tree1175213a62cda2176624c1c5142bae5b0d013083
parent53bd26fdaa11e090bcae79a7cd6358a1c1360922
Bug 14195: TestBuilder - A random string should not be longer than the DB field

t::lib::TestBuilder::_gen_text does not use correctly the regex and the
max parameter to generate the random string (String::Random).

This can cause future tests to fail.

http://bugs.koha-community.org/show_bug.cgi?id=14195
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Script tested, problem occurs, patch fixes it.
Bad number on commit subject
No errors

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/TestBuilder.t
t/lib/TestBuilder.pm