REST API: Tests: Remove and prohibit errors when generating `wp-api.js` fixtures.

During a PHPUnit test suite run, a file named `wp-api-generated.js` is created which contains some response objects that serve as fixtures for the `wp-api.js` client unit tests.

Previously, some of these API responses were actually error objects, which isn't what we want for testing.  This commit fixes the existing error responses and prevents this situation in the future.

Fixes #40734.


Built from https://develop.svn.wordpress.org/trunk@40629


git-svn-id: http://core.svn.wordpress.org/trunk@40490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
James Nylen 2017-05-11 18:32:43 +00:00
parent 589c4b4b2d
commit ace96e26aa
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-40628';
$wp_version = '4.8-alpha-40629';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.