Changeset 48997 for trunk/tests/phpunit/tests/ajax/UpdatePlugin.php
- Timestamp:
- 09/18/2020 01:48:27 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/UpdatePlugin.php
r48996 r48997 13 13 14 14 public function test_missing_nonce() { 15 $this->setExpectedException( 'WPAjaxDieStopException', '-1' ); 15 $this->expectException( 'WPAjaxDieStopException' ); 16 $this->expectExceptionMessage( '-1' ); 16 17 $this->_handleAjax( 'update-plugin' ); 17 18 }
Note: See TracChangeset
for help on using the changeset viewer.