[wp-trac] [WordPress Trac] #37090: Unit test for wp_get_http_headers

WordPress Trac noreply at wordpress.org
Tue Jun 28 18:55:08 UTC 2016


#37090: Unit test for wp_get_http_headers
--------------------------------------+------------------------
 Reporter:  borgesbruno               |       Owner:  rmccue
     Type:  enhancement               |      Status:  reviewing
 Priority:  normal                    |   Milestone:  4.6
Component:  HTTP API                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------

Comment (by borgesbruno):

 This is also a good approach @jipmoors use a mock instead of a real http
 request, like you said can be complementary

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


More information about the wp-trac mailing list