Changeset 37071 for trunk/tests/phpunit/tests/includes/helpers.php
- Timestamp:
- 03/23/2016 07:00:38 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/includes/helpers.php
r36785 r37071 205 205 return true; 206 206 } 207 208 /** 209 * @ticket 36166 210 * @expectedException WPDieException 211 */ 212 public function test_die_handler_should_handle_wp_error() { 213 wp_die( new WP_Error( 'test', 'test' ) ); 214 } 207 215 }
Note: See TracChangeset
for help on using the changeset viewer.