Wordpress/tests
James Nylen 8f0fa8c0d6 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@40629 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-11 18:31:26 +00:00
..
phpunit REST API: Tests: Remove and prohibit errors when generating wp-api.js fixtures. 2017-05-11 18:31:26 +00:00
qunit REST API: Tests: Remove and prohibit errors when generating wp-api.js fixtures. 2017-05-11 18:31:26 +00:00