[wp-trac] [WordPress Trac] #36476: Add tests for sign on related functions

WordPress Trac noreply at wordpress.org
Thu Aug 24 19:12:47 UTC 2023


#36476: Add tests for sign on related functions
-------------------------------------------------+-------------------------
 Reporter:  slimndap                             |       Owner:  jorbin
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.4
Component:  Login and Registration               |     Version:  2.5
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  good-first-bug needs-unit-tests      |     Focuses:
  has-patch                                      |  administration
-------------------------------------------------+-------------------------
Changes (by jorbin):

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


Comment:

 In [changeset:"56454" 56454]:
 {{{
 #!CommitTicketReference repository="" revision="56454"
 Login and Registration: Improve test coverage for sign on related
 functions

 Adds new tests to ensure that `wp_authenticate_email_password`,
 `wp_authenticate_username_password`, and `wp_authenticate_cookie` are
 better tested. This also unsets cookies properly between tests.

 Props JordanPak, johnregan3.
 Fixes #36476.
 }}}

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


More information about the wp-trac mailing list