[wp-trac] [WordPress Trac] #37308: `wp_insert_user()` test failing due to database autoincrement

WordPress Trac noreply at wordpress.org
Thu Jul 7 16:47:27 UTC 2016


#37308: `wp_insert_user()` test failing due to database autoincrement
--------------------------+---------------------------
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.6
Component:  Users         |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38005"]:
 {{{
 #!CommitTicketReference repository="" revision="38005"
 Tests: Ensure that test for invalid user ID actually uses an invalid user
 ID.

 This prevents false positives when the ID column's incrementor has
 exceeded the
 hardcoded invalid ID.

 Fixes #37308.
 }}}

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


More information about the wp-trac mailing list