Changeset 45762 for trunk/tests/phpunit/tests/ajax/CustomizeMenus.php
- Timestamp:
- 08/07/2019 11:54:22 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/CustomizeMenus.php
r45607 r45762 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 … … 444 444 if ( 'administrator' !== $role ) { 445 445 // If we're not an admin, we should get a wp_die(-1). 446 $this->setExpectedException( 'WPAjaxDieStopException' );446 $this->setExpectedException( 'WPAjaxDieStopException', '-1' ); 447 447 } 448 448
Note: See TracChangeset
for help on using the changeset viewer.