Changeset 49305
- Timestamp:
- 10/25/2020 12:31:12 AM (4 years ago)
- Location:
- trunk/tests/phpunit/tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/wpPublishPosts.php
r49000 r49305 45 45 * Ensure wp_publish_post adds default category. 46 46 * 47 * @covers wp_publish_post47 * @covers ::wp_publish_post 48 48 * @ticket 51292 49 49 */ … … 65 65 * Ensure wp_publish_post adds default category when tagged. 66 66 * 67 * @covers wp_publish_post67 * @covers ::wp_publish_post 68 68 * @ticket 51292 69 69 */ … … 86 86 * Ensure wp_publish_post does not add default term in error. 87 87 * 88 * @covers wp_publish_post88 * @covers ::wp_publish_post 89 89 * @ticket 51292 90 90 */ … … 121 121 * Ensure wp_publish_post adds default term. 122 122 * 123 * @covers wp_publish_post123 * @covers ::wp_publish_post 124 124 * @ticket 51292 125 125 */ -
trunk/tests/phpunit/tests/taxonomy.php
r49171 r49305 1050 1050 * Ensure custom callbacks are used when registered. 1051 1051 * 1052 * @covers register_taxonomy1052 * @covers ::register_taxonomy 1053 1053 * @ticket 40351 1054 1054 */ -
trunk/tests/phpunit/tests/term/termCounts.php
r49141 r49305 82 82 * Term counts are not double incremented when post created. 83 83 * 84 * @covers wp_modify_term_count_by84 * @covers ::wp_modify_term_count_by 85 85 * @dataProvider data_term_count_changes_for_post_statuses 86 86 * @ticket 40351 … … 122 122 * Term counts increments correctly when post status becomes published. 123 123 * 124 * @covers wp_publish_post125 * @covers wp_modify_term_count_by124 * @covers ::wp_publish_post 125 * @covers ::wp_modify_term_count_by 126 126 * @dataProvider data_term_counts_incremented_on_publish 127 127 * @ticket 40351 … … 165 165 * Test post status transition update term counts correctly. 166 166 * 167 * @covers wp_modify_term_count_by167 * @covers ::wp_modify_term_count_by 168 168 * @dataProvider data_term_count_transitions_update_term_counts 169 169 * @ticket 40351 … … 231 231 * Term counts are not double incremented when post created. 232 232 * 233 * @covers wp_modify_term_count_by233 * @covers ::wp_modify_term_count_by 234 234 * @dataProvider data_term_count_changes_for_post_statuses_with_attachments 235 235 * @ticket 40351 … … 280 280 * Term counts increments correctly when post status becomes published. 281 281 * 282 * @covers wp_publish_post283 * @covers wp_modify_term_count_by282 * @covers ::wp_publish_post 283 * @covers ::wp_modify_term_count_by 284 284 * @dataProvider data_term_counts_incremented_on_publish_with_attachments 285 285 * @ticket 40351 … … 332 332 * Test post status transition update term counts correctly. 333 333 * 334 * @covers wp_modify_term_count_by334 * @covers ::wp_modify_term_count_by 335 335 * @dataProvider data_term_count_transitions_update_term_counts_with_attachments 336 336 * @ticket 40351 … … 407 407 * Term counts are not double incremented when post created. 408 408 * 409 * @covers wp_modify_term_count_by409 * @covers ::wp_modify_term_count_by 410 410 * @dataProvider data_term_count_changes_for_post_statuses_with_untermed_attachments 411 411 * @ticket 40351 … … 455 455 * Term counts increments correctly when post status becomes published. 456 456 * 457 * @covers wp_modify_term_count_by458 * @covers wp_publish_post457 * @covers ::wp_modify_term_count_by 458 * @covers ::wp_publish_post 459 459 * @dataProvider data_term_counts_incremented_on_publish_with_untermed_attachments 460 460 * @ticket 40351 … … 506 506 * Test post status transition update term counts correctly. 507 507 * 508 * @covers wp_modify_term_count_by508 * @covers ::wp_modify_term_count_by 509 509 * @dataProvider data_term_count_transitions_update_term_counts_with_untermed_attachments 510 510 * @ticket 40351 … … 580 580 * User taxonomy term counts increments when added to an account. 581 581 * 582 * @covers wp_modify_term_count_by582 * @covers ::wp_modify_term_count_by 583 583 * @ticket 51292 584 584 */ … … 594 594 * User taxonomy term counts decrement when term deleted from user. 595 595 * 596 * @covers wp_modify_term_count_by596 * @covers ::wp_modify_term_count_by 597 597 * @ticket 51292 598 598 */ … … 609 609 * Ensure DB queries for deferred counts are nullified for net zero gain. 610 610 * 611 * @covers wp_modify_term_count_by612 * @covers wp_defer_term_counting611 * @covers ::wp_modify_term_count_by 612 * @covers ::wp_defer_term_counting 613 613 * @ticket 51292 614 614 */ … … 633 633 * Ensure full recounts follow modify by X recounts to avoid miscounts. 634 634 * 635 * @covers wp_modify_term_count_by636 * @covers wp_update_term_count637 * @covers wp_defer_term_counting635 * @covers ::wp_modify_term_count_by 636 * @covers ::wp_update_term_count 637 * @covers ::wp_defer_term_counting 638 638 * @ticket 51292 639 639 */ … … 657 657 * Ensure DB queries for deferred counts are combined. 658 658 * 659 * @covers wp_modify_term_count_by660 * @covers wp_defer_term_counting659 * @covers ::wp_modify_term_count_by 660 * @covers ::wp_defer_term_counting 661 661 * @ticket 51292 662 662 */
Note: See TracChangeset
for help on using the changeset viewer.