Make WordPress Core


Ignore:
Timestamp:
09/21/2020 02:05:23 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Tests: Use consistent trailing punctuation in markTestSkipped() messages.

See #51344.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/multisite/siteMeta.php

    r48939 r49027  
    5959                public function test_add() {
    6060                        if ( ! is_site_meta_supported() ) {
    61                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     61                                $this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
    6262                        }
    6363
    … …  
    6868                public function test_add_unique() {
    6969                        if ( ! is_site_meta_supported() ) {
    70                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     70                                $this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
    7171                        }
    7272
    … …  
    7777                public function test_delete() {
    7878                        if ( ! is_site_meta_supported() ) {
    79                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     79                                $this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
    8080                        }
    8181
    … …  
    8888                public function test_delete_with_invalid_meta_key_should_return_false() {
    8989                        if ( ! is_site_meta_supported() ) {
    90                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     90                                $this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
    9191                        }
    9292
    … …  
    9696                public function test_delete_should_respect_meta_value() {
    9797                        if ( ! is_site_meta_supported() ) {
    98                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     98                                $this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
    9999                        }
    100100
    … …  
    110110                public function test_get_with_no_key_should_fetch_all_keys() {
    111111                        if ( ! is_site_meta_supported() ) {
    112                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     112                                $this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
    113113                        }
    114114
    … …  
    127127                public function test_get_with_key_should_fetch_all_for_key() {
    128128                        if ( ! is_site_meta_supported() ) {
    129                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     129                                $this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
    130130                        }
    131131
    … …  
    142142                public function test_get_should_respect_single_true() {
    143143                        if ( ! is_site_meta_supported() ) {
    144                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     144                                $this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
    145145                        }
    146146
    … …  
    154154                public function test_update_should_pass_to_add_when_no_value_exists_for_key() {
    155155                        if ( ! is_site_meta_supported() ) {
    156                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     156                                $this->markTestSkipped( 'Test only runs with the blogmeta database table installed.' );
    157157                        }
    158158
    … …  
    167167                public function test_update_should_return_true_when_updating_existing_value_for_key() {
    168168                        if ( ! is_site_meta_supported() ) {
    169                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     169                                $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
    170170                        }
    171171
    … …  
    181181                public function test_delete_by_key() {
    182182                        if ( ! is_site_meta_supported() ) {
    183                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     183                                $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
    184184                        }
    185185
    … …  
    198198                public function test_site_meta_should_be_deleted_when_site_is_deleted() {
    199199                        if ( ! is_site_meta_supported() ) {
    200                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     200                                $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
    201201                        }
    202202
    … …  
    224224
    225225                        if ( ! is_site_meta_supported() ) {
    226                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     226                                $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
    227227                        }
    228228
    … …  
    239239
    240240                        if ( ! is_site_meta_supported() ) {
    241                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     241                                $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
    242242                        }
    243243
    … …  
    260260
    261261                        if ( ! is_site_meta_supported() ) {
    262                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     262                                $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
    263263                        }
    264264
    … …  
    282282                public function test_add_site_meta_should_bust_get_sites_cache() {
    283283                        if ( ! is_site_meta_supported() ) {
    284                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     284                                $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
    285285                        }
    286286
    … …  
    324324                public function test_update_site_meta_should_bust_get_sites_cache() {
    325325                        if ( ! is_site_meta_supported() ) {
    326                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     326                                $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
    327327                        }
    328328
    … …  
    367367                public function test_delete_site_meta_should_bust_get_sites_cache() {
    368368                        if ( ! is_site_meta_supported() ) {
    369                                 $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed' );
     369                                $this->markTestSkipped( 'Tests only runs with the blogmeta database table installed.' );
    370370                        }
    371371
Note: See TracChangeset for help on using the changeset viewer.