Changeset 52382 for trunk/tests/phpunit/tests/functions/doEnclose.php
- Timestamp:
- 12/15/2021 07:59:32 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/doEnclose.php
r51627 r52382 26 26 public function set_up() { 27 27 parent::set_up(); 28 add_filter( 'pre_http_request', array( $this, ' fake_http_request' ), 10, 3 );28 add_filter( 'pre_http_request', array( $this, 'mock_http_request' ), 10, 3 ); 29 29 } 30 30 … … 251 251 252 252 /** 253 * Fakethe HTTP request response.253 * Mock the HTTP request response. 254 254 * 255 255 * @since 5.3.0 … … 258 258 * @param array $arguments Request arguments. 259 259 * @param string $url Request URL. 260 *261 260 * @return array Header. 262 261 */ 263 public function fake_http_request( $false, $arguments, $url ) {262 public function mock_http_request( $false, $arguments, $url ) { 264 263 265 264 // Video and audio headers.
Note: See TracChangeset
for help on using the changeset viewer.