Wordpress/tests/qunit
James Nylen 9d96b31b90 REST API: Fix the client test fixture generation in PHP 5.2 and 5.3.
Remove `JSON_UNESCAPED_SLASHES` from the `wp_json_encode` call - this constant is not supported in PHP < 5.4, and we don't polyfill it either.

Also make the PHPUnit test suite correctly exit with a non-zero exit code when `wp-tests-config.php` is not present.  This was causing `grunt restapi-jsclient` to incorrectly proceed to its second step even when the first step failed with this error.

Props ocean90.
Fixes #39264.


git-svn-id: https://develop.svn.wordpress.org/trunk@40065 602fd350-edb4-49c9-b593-d223f7449a82
2017-02-16 23:29:16 +00:00
..
editor TiinyMCE: update to 4.4.3, changelog: https://www.tinymce.com/docs/changelog/#version443-september12016 2016-10-11 00:09:03 +00:00
fixtures REST API: Fix the client test fixture generation in PHP 5.2 and 5.3. 2017-02-16 23:29:16 +00:00
vendor Customizer: Add QUnit tests for menus. 2015-08-03 19:27:27 +00:00
wp-admin/js Menus: trigger an event when menu items are added or removed. 2017-01-20 16:14:23 +00:00
wp-includes/js REST API: Add QUnit tests for wp-api.js and PHPUnit fixture generation. 2017-02-14 04:22:32 +00:00
.jshintrc Various JSHint fixes. see #26446. 2014-02-08 00:51:14 +00:00
index.html REST API: Add QUnit tests for wp-api.js and PHPUnit fixture generation. 2017-02-14 04:22:32 +00:00