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

See #51344.

git-svn-id: https://develop.svn.wordpress.org/trunk@49027 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-09-21 14:05:23 +00:00
parent e8b00da747
commit 310799a268
8 changed files with 32 additions and 32 deletions

View File

@@ -92,7 +92,7 @@ class Tests_DB extends WP_UnitTestCase {
// Switch to a locale using comma as a decimal point separator.
$flag = setlocale( LC_ALL, 'ru_RU.utf8', 'rus', 'fr_FR.utf8', 'fr_FR', 'de_DE.utf8', 'de_DE', 'es_ES.utf8', 'es_ES' );
if ( false === $flag ) {
$this->markTestSkipped( 'No European locales available for testing' );
$this->markTestSkipped( 'No European locales available for testing.' );
}
// Try an update query.
@@ -716,7 +716,7 @@ class Tests_DB extends WP_UnitTestCase {
function test_mysqli_flush_sync() {
global $wpdb;
if ( ! $wpdb->use_mysqli ) {
$this->markTestSkipped( 'mysqli not being used' );
$this->markTestSkipped( 'mysqli not being used.' );
}
$suppress = $wpdb->suppress_errors( true );
@@ -1048,7 +1048,7 @@ class Tests_DB extends WP_UnitTestCase {
}
if ( ! in_array( $expected_charset, array( 'utf8', 'utf8mb4', 'latin1' ), true ) ) {
$this->markTestSkipped( 'This test only works with utf8, utf8mb4 or latin1 character sets' );
$this->markTestSkipped( 'This test only works with utf8, utf8mb4 or latin1 character sets.' );
}
$data = array( 'post_content' => '¡foo foo foo!' );