Changeset 50463 for trunk/tests/phpunit/tests/http/wpGetHttpHeaders.php
- Timestamp:
- 03/01/2021 06:42:49 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/http/wpGetHttpHeaders.php
r50345 r50463 15 15 // Hook a fake HTTP request response. 16 16 add_filter( 'pre_http_request', array( $this, 'fake_http_request' ), 10, 3 ); 17 }18 19 /**20 * Clean up environment21 */22 public function tearDown() {23 parent::tearDown();24 25 // Clear the hook for the fake HTTP request response.26 remove_filter( 'pre_http_request', array( $this, 'fake_http_request' ) );27 17 } 28 18
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)