[wp-trac] [WordPress Trac] #36476: Add tests for sign on related functions (was: The login form is not covered by a test)

WordPress Trac noreply at wordpress.org
Mon Jul 11 15:15:25 UTC 2022

#36476: Add tests for sign on related functions
 Reporter:  slimndap                         |       Owner:  (none)
     Type:  enhancement                      |      Status:  new
 Priority:  normal                           |   Milestone:  Future Release
Component:  Login and Registration           |     Version:  2.5
 Severity:  normal                           |  Resolution:
 Keywords:  good-first-bug needs-unit-tests  |     Focuses:  administration
Changes (by desrosj):

 * keywords:   => good-first-bug needs-unit-tests
 * version:  4.4.2 => 2.5
 * milestone:   => Future Release


 Hi @slimndap,

 Welcome to Trac! My apologies this took so long to receive a response.

 It's been a while so I took a look. Seems there is one test for
 `wp_signon()` now that was added while solving #38744, but this area could
 definitely benefit from more unit tests
 (`wp_authenticate_username_password(), `wp_authenticate_email_password()`,
 and `wp_authenticate_cookie()` also do not have any tests).

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

More information about the wp-trac mailing list