Changeset 44123 for trunk/tests/phpunit/tests/rest-api.php
- Timestamp:
- 12/13/2018 08:46:19 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43763
- Property svn:mergeinfo changed
-
trunk/tests/phpunit/tests/rest-api.php
r43571 r44123 713 713 $this->assertEquals( $routes['/test-ns/test'][0]['methods'], array( 'GET' => true ) ); 714 714 } 715 716 /** 717 * Ensure rest_preload_api_request() works without notices in PHP 5.2. 718 * 719 * The array_reduce() function only accepts mixed variables starting with PHP 5.3. 720 */ 721 function test_rest_preload_api_request_no_notices_php_52() { 722 $this->assertTrue( is_array( rest_preload_api_request( 0, '/' ) ) ); 723 } 715 724 }
Note: See TracChangeset
for help on using the changeset viewer.