Changeset 48997 for trunk/tests/phpunit/tests/ajax/DeleteComment.php
- Timestamp:
- 09/18/2020 01:48:27 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/DeleteComment.php
r48937 r48997 138 138 139 139 // Make the request. 140 $this->setExpectedException( 'WPAjaxDieStopException', '-1' ); 140 $this->expectException( 'WPAjaxDieStopException' ); 141 $this->expectExceptionMessage( '-1' ); 141 142 $this->_handleAjax( 'delete-comment' ); 142 143 } … … 169 170 170 171 // Make the request. 171 $this->setExpectedException( 'WPAjaxDieStopException', '-1' ); 172 $this->expectException( 'WPAjaxDieStopException' ); 173 $this->expectExceptionMessage( '-1' ); 172 174 $this->_handleAjax( 'delete-comment' ); 173 175 }
Note: See TracChangeset
for help on using the changeset viewer.