Changeset 54723 for trunk/tests/phpunit/tests/ajax/wpAjaxUpdatePlugin.php
- Timestamp:
- 10/30/2022 02:52:04 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/wpAjaxUpdatePlugin.php
r54722 r54723 142 142 $_POST['slug'] = 'hello-dolly'; 143 143 144 // Prevent wp_update_plugins() from running. 145 wp_installing( true ); 146 144 147 // Make the request. 145 148 try { 146 // Prevent wp_update_plugins() from running.147 wp_installing( true );148 149 $this->_handleAjax( 'update-plugin' ); 149 wp_installing( false );150 150 } catch ( WPAjaxDieContinueException $e ) { 151 151 unset( $e ); 152 152 } 153 154 wp_installing( false ); 153 155 154 156 // Get the response.
Note: See TracChangeset
for help on using the changeset viewer.