Changeset 52010 for trunk/tests/phpunit/tests/admin/includesPost.php
- Timestamp:
- 11/04/2021 03:22:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/includesPost.php
r51968 r52010 27 27 } 28 28 29 function test__wp_translate_postdata_cap_checks_contributor() {29 public function test__wp_translate_postdata_cap_checks_contributor() { 30 30 wp_set_current_user( self::$contributor_id ); 31 31 … … 77 77 } 78 78 79 function test__wp_translate_postdata_cap_checks_editor() {79 public function test__wp_translate_postdata_cap_checks_editor() { 80 80 wp_set_current_user( self::$editor_id ); 81 81 … … 132 132 * @ticket 25272 133 133 */ 134 function test_edit_post_auto_draft() {134 public function test_edit_post_auto_draft() { 135 135 wp_set_current_user( self::$editor_id ); 136 136 $post = self::factory()->post->create_and_get( array( 'post_status' => 'auto-draft' ) ); … … 790 790 } 791 791 792 function test_use_block_editor_for_post() {792 public function test_use_block_editor_for_post() { 793 793 $this->assertFalse( use_block_editor_for_post( -1 ) ); 794 794 $bogus_post_id = $this->factory()->post->create( … … 823 823 } 824 824 825 function test_get_block_editor_server_block_settings() {825 public function test_get_block_editor_server_block_settings() { 826 826 $name = 'core/test'; 827 827 $settings = array(
Note: See TracChangeset
for help on using the changeset viewer.