Changeset 47122 for trunk/tests/phpunit/tests/ajax/DeletePlugin.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/DeletePlugin.php
r46586 r47122 1 1 <?php 2 2 /** 3 * Admin ajax functions to be tested3 * Admin Ajax functions to be tested. 4 4 */ 5 5 require_once( ABSPATH . 'wp-admin/includes/ajax-actions.php' ); … … 23 23 $_POST['slug'] = 'foo'; 24 24 25 // Make the request 25 // Make the request. 26 26 try { 27 27 $this->_handleAjax( 'delete-plugin' ); … … 49 49 $_POST['plugin'] = 'foo/bar.php'; 50 50 51 // Make the request 51 // Make the request. 52 52 try { 53 53 $this->_handleAjax( 'delete-plugin' ); … … 76 76 $_POST['slug'] = 'foo'; 77 77 78 // Make the request 78 // Make the request. 79 79 try { 80 80 $this->_handleAjax( 'delete-plugin' ); … … 105 105 $_POST['slug'] = 'foo'; 106 106 107 // Make the request 107 // Make the request. 108 108 try { 109 109 $this->_handleAjax( 'delete-plugin' ); … … 134 134 $_POST['slug'] = 'foo'; 135 135 136 // Make the request 136 // Make the request. 137 137 try { 138 138 $this->_handleAjax( 'delete-plugin' );
Note: See TracChangeset
for help on using the changeset viewer.