[wp-trac] [WordPress Trac] #35993: Unit tests: XML-RPC Request routines

WordPress Trac noreply at wordpress.org
Mon Feb 29 01:07:38 UTC 2016


#35993: Unit tests: XML-RPC Request routines
-------------------------+-----------------------------
 Reporter:  borgesbruno  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  HTTP API     |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 I wrote unit tests for the 3 methods regards to XML-RPC request in
 functions.php, the aim is improve de code coverage, theses methods are:
 * xmlrpc_getposttitle()
 * xmlrpc_getpostcategory()
 * xmlrpc_removepostdata()

 This patch cover 100% of coverage related to theses methods above.

 Only one thing to consider, I didn't found any XML-RPC format on the
 Wordpress doc with title and category, so I've created a simple XML format
 with both, following the methods the behaviour is the same.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35993>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list