[Koha-bugs] [Bug 14256] tests for TestBuider randomly fails

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 22 18:45:25 CEST 2015


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

--- Comment #2 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 39430
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39430&action=edit
Bug 14256: Make TestBuilder regenerates a string if to short

In some cases, especially branchcode and categorycode, the generated
string for a primary key already existed in DB.
Which make the tests fail, and the data are not gererated.

This patch regenerate a string if the one generated is too short and can
be longer.

Test plan:
Use the diff from the previous comment, and confirm that the tests only
fail in the very few cases.

QA: Actually I don't know if the better could be to use the existing
value, but maybe not...

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


More information about the Koha-bugs mailing list