Changeset 43763 for branches/5.0/tests/phpunit/tests/rest-api.php
- Timestamp:
- 10/19/2018 08:56:58 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/tests/phpunit/tests/rest-api.php
r41744 r43763 594 594 $this->assertEquals( $routes['/test-ns/test'][0]['methods'], array( 'GET' => true ) ); 595 595 } 596 597 /** 598 * Ensure rest_preload_api_request() works without notices in PHP 5.2. 599 * 600 * The array_reduce() function only accepts mixed variables starting with PHP 5.3. 601 */ 602 function test_rest_preload_api_request_no_notices_php_52() { 603 $this->assertTrue( is_array( rest_preload_api_request( 0, '/' ) ) ); 604 } 596 605 }
Note: See TracChangeset
for help on using the changeset viewer.