Changeset 48997 for trunk/tests/phpunit/tests/ajax/Compression.php
- Timestamp:
- 09/18/2020 01:48:27 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/Compression.php
r48937 r48997 26 26 27 27 // Make the request. 28 $this->setExpectedException( 'WPAjaxDieStopException', '-1' ); 28 $this->expectException( 'WPAjaxDieStopException' ); 29 $this->expectExceptionMessage( '-1' ); 29 30 $this->_handleAjax( 'wp-compression-test' ); 30 31 } … … 119 120 120 121 // Make the request. 121 $this->setExpectedException( 'WPAjaxDieStopException', '-1' ); 122 $this->expectException( 'WPAjaxDieStopException' ); 123 $this->expectExceptionMessage( '-1' ); 122 124 $this->_handleAjax( 'wp-compression-test' ); 123 125 }
Note: See TracChangeset
for help on using the changeset viewer.