Changeset 37428 for trunk/tests/phpunit/tests/http/base.php
- Timestamp:
- 05/13/2016 04:41:45 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/http/base.php
r34874 r37428 290 290 $res = wp_remote_post( add_query_arg( 'response_code', 303, $url ), array( 'timeout' => 30 ) ); 291 291 $this->assertEquals( 'GET', wp_remote_retrieve_body( $res ) ); 292 293 // Test 304 - POST to POST294 $res = wp_remote_post( add_query_arg( 'response_code', 304, $url ), array( 'timeout' => 30 ) );295 $this->assertEquals( 'POST', wp_remote_retrieve_body( $res ) );296 292 } 297 293
Note: See TracChangeset
for help on using the changeset viewer.