- Timestamp:
- 11/06/2020 05:37:22 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7/tests/phpunit/tests/ajax/CustomizeMenus.php
r39507 r49532 55 55 if ( 'administrator' != $role ) { 56 56 // If we're not an admin, we should get a wp_die(-1). 57 $this->setExpectedException( 'WPAjaxDieStopException' );57 $this->setExpectedException( 'WPAjaxDieStopException', '-1' ); 58 58 } 59 59 … … 430 430 if ( 'administrator' != $role ) { 431 431 // If we're not an admin, we should get a wp_die(-1). 432 $this->setExpectedException( 'WPAjaxDieStopException' );432 $this->setExpectedException( 'WPAjaxDieStopException', '-1' ); 433 433 } 434 434
Note: See TracChangeset
for help on using the changeset viewer.