Make WordPress Core


Ignore:
Timestamp:
08/08/2022 11:12:30 PM (4 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/slashes.php

    r53557 r53863  
    3838        /**
    3939         * Tests the extended model function that expects slashed data.
     40         *
     41         * @covers ::wp_new_comment
    4042         */
    4143        public function test_wp_new_comment() {
    … …  
    7779        /**
    7880         * Tests the controller function that expects slashed data.
     81         *
     82         * @covers ::edit_comment
    7983         */
    8084        public function test_edit_comment() {
    … …  
    123127        /**
    124128         * Tests the model function that expects slashed data.
     129         *
     130         * @covers ::wp_insert_comment
    125131         */
    126132        public function test_wp_insert_comment() {
    … …  
    154160        /**
    155161         * Tests the model function that expects slashed data.
     162         *
     163         * @covers ::wp_update_comment
    156164         */
    157165        public function test_wp_update_comment() {
Note: See TracChangeset for help on using the changeset viewer.