[Koha-bugs] [Bug 14195] TestBuilder does not generate the good length for text fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 14 20:40:30 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14195

Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #39138|0                           |1
        is obsolete|                            |

--- Comment #3 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 39200
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39200&action=edit
[SIGNED-OFF] 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 at gmail.com>

Script tested, problem occurs, patch fixes it.
Bad number on commit subject
No errors

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list