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

WordPress Trac noreply at wordpress.org
Sat Sep 21 10:29:04 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 SergeyBiryukov):

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


Comment:

 In [changeset:"46224" 46224]:
 {{{
 #!CommitTicketReference repository="" revision="46224"
 Tests: Correct assertion in `test_wp_validate_boolean()` to make sure the
 return type is properly tested.

 Props jrf.
 Fixes #39868.
 }}}

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


More information about the wp-trac mailing list