Ticket #46567: 46567.2.diff
File 46567.2.diff, 2.5 KB (added by , 6 years ago) |
---|
-
Gruntfile.js
653 653 cmd: 'phpunit', 654 654 args: ['--verbose', '-c', 'tests/phpunit/multisite.xml'] 655 655 }, 656 'ms-ajax': { 657 cmd: 'phpunit', 658 args: ['--verbose', '-c', 'tests/phpunit/multisite.xml', '--group', 'ajax'] 659 }, 656 660 'ms-files': { 657 661 cmd: 'phpunit', 658 662 args: ['--verbose', '-c', 'tests/phpunit/multisite.xml', '--group', 'ms-files'] -
tests/phpunit/tests/ajax/Attachments.php
65 65 * @ticket 36578 66 66 */ 67 67 public function test_wp_ajax_send_attachment_to_editor_should_return_a_link() { 68 $this->skipWithMultisite(); 69 68 70 // Become an administrator 69 71 $post = $_POST; 70 72 $user_id = self::factory()->user->create( -
tests/phpunit/tests/ajax/DeletePlugin.php
127 127 } 128 128 129 129 public function test_delete_plugin() { 130 $this->skipWithMultisite(); 130 131 $this->_setRole( 'administrator' ); 131 132 132 133 $_POST['_ajax_nonce'] = wp_create_nonce( 'updates' ); -
tests/phpunit/tests/ajax/ManageThemes.php
102 102 } 103 103 104 104 public function test_update_theme() { 105 $this->skipWithMultisite(); 106 105 107 $this->_setRole( 'administrator' ); 106 108 107 109 $_POST['_ajax_nonce'] = wp_create_nonce( 'updates' ); … … 139 141 } 140 142 141 143 function test_uppercase_theme_slug() { 144 $this->skipWithMultisite(); 142 145 $this->_setRole( 'administrator' ); 143 146 144 147 $_POST['_ajax_nonce'] = wp_create_nonce( 'updates' ); -
tests/phpunit/tests/ajax/UpdatePlugin.php
131 131 } 132 132 133 133 public function test_update_plugin() { 134 $this->skipWithMultisite(); 134 135 $this->_setRole( 'administrator' ); 135 136 136 137 $_POST['_ajax_nonce'] = wp_create_nonce( 'updates' );