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

WordPress Trac noreply at wordpress.org
Mon Feb 13 16:11:38 UTC 2017


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

 * keywords:  has-patch 2nd-opinion has-unit-tests => has-patch has-unit-
     tests commit


Comment:

 @adamsilverstein let's get this committed so we can move on to adding
 other tests.  In [attachment:39264.6.diff] I didn't make any major
 changes, just cleaned up a bunch of formatting stuff, removed the
 `foreach` loop in the PHP tests, and made naming more consistent overall.
 Notably:

 - `wp-api.js` → `wp-api-generated.js`
 - `wp-api-2.js` → `wp-api.js`

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


More information about the wp-trac mailing list