Changeset 48996 for trunk/tests/phpunit/tests/ajax/UpdatePlugin.php
- Timestamp:
- 09/18/2020 01:22:22 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/UpdatePlugin.php
r48939 r48996 11 11 */ 12 12 class Tests_Ajax_Update_Plugin extends WP_Ajax_UnitTestCase { 13 /** 14 * @expectedException WPAjaxDieStopException 15 * @expectedExceptionMessage -1 16 */ 13 17 14 public function test_missing_nonce() { 15 $this->setExpectedException( 'WPAjaxDieStopException', '-1' ); 18 16 $this->_handleAjax( 'update-plugin' ); 19 17 }
Note: See TracChangeset
for help on using the changeset viewer.