Make WordPress Core


Ignore:
Timestamp:
08/08/2022 11:12:30 PM (3 years ago)
Author:
azaozz
Message:

Build/Test Tools: Add @covers tags to the comments tests.

Props pbearne, jrf, hellofromTonya, patopaiar, ironprogrammer, antonvlasenko, SergeyBiryukov, costdev.
See #39265.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/comment/metaCache.php

    r51331 r53863  
    11<?php
    2 
     2/**
     3 * @group comment
     4 */
    35class Tests_Comment_Meta_Cache extends WP_UnitTestCase {
    46    protected $i       = 0;
     
    79    /**
    810     * @ticket 16894
     11     *
     12     * @covers ::update_comment_meta
    913     */
    1014    public function test_update_comment_meta_cache_should_default_to_true() {
     
    3741    /**
    3842     * @ticket 16894
     43     *
     44     * @covers ::update_comment_meta
    3945     */
    4046    public function test_update_comment_meta_cache_true() {
     
    6874    /**
    6975     * @ticket 16894
     76     *
     77     * @covers ::update_comment_meta
    7078     */
    7179    public function test_update_comment_meta_cache_false() {
     
    96104    /**
    97105     * @ticket 16894
     106     *
     107     * @covers ::get_comment_meta
    98108     */
    99109    public function test_comment_meta_should_be_lazy_loaded_for_all_comments_in_comments_template() {
     
    131141    /**
    132142     * @ticket 34047
     143     *
     144     * @covers ::get_comment_meta
    133145     */
    134146    public function test_comment_meta_should_be_lazy_loaded_in_comment_feed_queries() {
     
    179191    /**
    180192     * @ticket 34047
     193     *
     194     * @covers ::get_comment_meta
    181195     */
    182196    public function test_comment_meta_should_be_lazy_loaded_in_single_post_comment_feed_queries() {
     
    228242    /**
    229243     * @ticket 44467
     244     *
     245     * @covers ::add_metadata
    230246     */
    231247    public function test_add_metadata_sets_comments_last_changed() {
     
    240256    /**
    241257     * @ticket 44467
     258     *
     259     * @covers ::update_metadata
    242260     */
    243261    public function test_update_metadata_sets_comments_last_changed() {
     
    252270    /**
    253271     * @ticket 44467
     272     *
     273     * @covers ::delete_metadata
    254274     */
    255275    public function test_delete_metadata_sets_comments_last_changed() {
Note: See TracChangeset for help on using the changeset viewer.