[wp-trac] [WordPress Trac] #37371: Reduce reliance on rand_str() in tests

WordPress Trac noreply at wordpress.org
Thu Jul 14 23:02:11 UTC 2016


#37371: Reduce reliance on rand_str() in tests
------------------------------+-----------------------------
 Reporter:  johnbillion       |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Future Release
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+-----------------------------
Changes (by johnbillion):

 * keywords:  needs-patch => has-patch


Comment:

 [attachment:37371.patch] replaces all instances of `rand_str()` with
 static strings where the test will fail if `rand_str()` were to return
 sequential identical strings.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37371#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list