Changeset 52010 for trunk/tests/phpunit/tests/post/wpPublishPost.php
- Timestamp:
- 11/04/2021 03:22:47 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/post/wpPublishPost.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/wpPublishPost.php
r49603 r52010 27 27 * @ticket 51292 28 28 */ 29 function test_wp_publish_post_respects_current_categories() {29 public function test_wp_publish_post_respects_current_categories() { 30 30 $post_id = self::$auto_draft_id; 31 31 $category_id = $this->factory->term->create( array( 'taxonomy' => 'category' ) ); … … 48 48 * @ticket 51292 49 49 */ 50 function test_wp_publish_post_adds_default_category() {50 public function test_wp_publish_post_adds_default_category() { 51 51 $post_id = self::$auto_draft_id; 52 52 … … 68 68 * @ticket 51292 69 69 */ 70 function test_wp_publish_post_adds_default_category_when_tagged() {70 public function test_wp_publish_post_adds_default_category_when_tagged() { 71 71 $post_id = self::$auto_draft_id; 72 72 $tag_id = $this->factory->term->create( array( 'taxonomy' => 'post_tag' ) ); … … 89 89 * @ticket 51292 90 90 */ 91 function test_wp_publish_post_respects_current_terms() {91 public function test_wp_publish_post_respects_current_terms() { 92 92 // Create custom taxonomy to test with. 93 93 register_taxonomy( … … 124 124 * @ticket 51292 125 125 */ 126 function test_wp_publish_post_adds_default_term() {126 public function test_wp_publish_post_adds_default_term() { 127 127 // Create custom taxonomy to test with. 128 128 register_taxonomy(
Note: See TracChangeset
for help on using the changeset viewer.