Changeset 48996 for trunk/tests/phpunit/tests/formatting/redirect.php
- Timestamp:
- 09/18/2020 01:22:22 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/redirect.php
r48937 r48996 25 25 * 26 26 * @dataProvider get_bad_status_codes 27 * @expectedException WPDieException28 27 * 29 28 * @param string $location The path or URL to redirect to. … … 31 30 */ 32 31 public function test_wp_redirect_bad_status_code( $location, $status ) { 32 $this->expectException( 'WPDieException' ); 33 33 34 wp_redirect( $location, $status ); 34 35 }
Note: See TracChangeset
for help on using the changeset viewer.