Changeset 46219
- Timestamp:
- 09/20/2019 10:26:18 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api.php
r46184 r46219 781 781 } 782 782 783 /**784 * Ensure rest_preload_api_request() works without notices in PHP 5.2.785 *786 * The array_reduce() function only accepts mixed variables starting with PHP 5.3.787 */788 function test_rest_preload_api_request_no_notices_php_52() {789 $this->assertTrue( is_array( rest_preload_api_request( 0, '/' ) ) );790 }791 792 783 function test_rest_preload_api_request_with_method() { 793 784 $rest_server = $GLOBALS['wp_rest_server'];
Note: See TracChangeset
for help on using the changeset viewer.