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

WordPress Trac noreply at wordpress.org
Tue Jun 28 06:22:46 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 jipmoors):

 These acceptance and unit tests can be complementary.

 I can understand internals would be changed at some point so unit tests
 would fail, so I am thinking about writing unit tests to cover the WP_Http
 class, which is used to supply the actual fetching functionality.

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


More information about the wp-trac mailing list