[wp-trac] [WordPress Trac] #42904: Speed up unit tests by disabling password hashing

WordPress Trac noreply at wordpress.org
Wed Dec 27 10:41:29 UTC 2017


#42904: Speed up unit tests by disabling password hashing
-----------------------------------+------------------
 Reporter:  Frank Klein            |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  5.0
Component:  Build/Test Tools       |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+------------------

Comment (by Frank Klein):

 Thanks for the feedback @boonebgorges, I adapted the patch as proposed.

 I also added a unit test for this functionality of the user fixtures
 factory. It is excluded by default, as I don't see the need to test the
 factory every time the suite runs.

 I did not add the new argument to the inline documentation of the user
 fixtures factory, as it is not a straightforward change to make. Something
 for another ticket.

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


More information about the wp-trac mailing list