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

WordPress Trac noreply at wordpress.org
Thu Aug 24 18:57:43 UTC 2023


#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:
  has-patch                                      |  administration
-------------------------------------------------+-------------------------

Comment (by JordanPak):

 @johnregan3 the new
 `Tests_Auth::test_wp_authenticate_cookie_with_invalid_cookie()` appeared
 to be throwing off the existing
 `Tests_Auth::test_wp_signon_does_not_throw_deprecation_notices_with_default_parameters`
 test because the `$_COOKIE` values were carrying over. The test was
 succeeding by itself but failing when run with the other tests in
 `Tests_Auth`.

 [https://core.trac.wordpress.org/attachment/ticket/36476/36476.2.diff
 36476.2.diff] is addressing the issue in my tests.

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


More information about the wp-trac mailing list