[wp-trac] [WordPress Trac] #39264: Add WP-API JS Client unit tests to core

WordPress Trac noreply at wordpress.org
Thu Feb 16 23:45:36 UTC 2017


#39264: Add WP-API JS Client unit tests to core
-----------------------------+------------------------------
 Reporter:  adamsilverstein  |       Owner:  adamsilverstein
     Type:  enhancement      |      Status:  reopened
 Priority:  normal           |   Milestone:  4.7.3
Component:  REST API         |     Version:  4.7
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  javascript
-----------------------------+------------------------------
Changes (by jnylen0):

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


Comment:

 Still no joy:

 {{{
 There was 1 error:

 1) WP_Test_REST_Schema_Initialization::test_build_wp_api_client_fixtures
 json_encode() expects exactly 1 parameter, 2 given

 /home/travis/build/nylen/wordpress-develop-svn/tests/phpunit/tests/rest-
 api/rest-schema-setup.php:280
 }}}

 I'm just going to no-op this fixture file generation on PHP < 5.4, there's
 no reason we will need to do that anyway.

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


More information about the wp-trac mailing list