[wp-trac] [WordPress Trac] #39868: add unit tests for wp_validate_boolean() in function.php

WordPress Trac noreply at wordpress.org
Tue Sep 17 18:48:38 UTC 2019


#39868: add unit tests for wp_validate_boolean() in function.php
------------------------------+----------------------
 Reporter:  pbearne           |       Owner:  desrosj
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  5.3
Component:  Build/Test Tools  |     Version:  4.8
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+----------------------
Changes (by desrosj):

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


Comment:

 In [changeset:"46159" 46159]:
 {{{
 #!CommitTicketReference repository="" revision="46159"
 Build/Test Tools: Improve test coverage for `wp_validate_boolean()`.

 This change also reworks the test class to use a data provider.

 Props pbearne, desrosj
 Fixes #39868
 }}}

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


More information about the wp-trac mailing list