Changeset 49027 for trunk/tests/phpunit/tests/db/charset.php
- Timestamp:
- 09/21/2020 02:05:23 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/db/charset.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/db/charset.php
r48937 r49027 514 514 $charset = $wpdb->get_col_charset( $wpdb->posts, 'post_content' ); 515 515 if ( 'utf8' !== $charset && 'utf8mb4' !== $charset ) { 516 $this->markTestSkipped( 'This test requires a utf8 character set ' );516 $this->markTestSkipped( 'This test requires a utf8 character set.' ); 517 517 } 518 518 … … 641 641 $charset = $wpdb->get_col_charset( $wpdb->posts, 'post_content' ); 642 642 if ( 'utf8' !== $charset && 'utf8mb4' !== $charset ) { 643 $this->markTestSkipped( 'This test requires a utf8 character set ' );643 $this->markTestSkipped( 'This test requires a utf8 character set.' ); 644 644 } 645 645 … … 947 947 $charset = $wpdb->get_col_charset( $wpdb->posts, 'post_content' ); 948 948 if ( 'utf8' !== $charset && 'utf8mb4' !== $charset ) { 949 $this->markTestSkipped( 'This test requires a utf8 character set ' );949 $this->markTestSkipped( 'This test requires a utf8 character set.' ); 950 950 } 951 951 … … 1046 1046 $tablename = 'test_cp1251_query_' . rand_str( 5 ); 1047 1047 if ( ! self::$_wpdb->query( "CREATE TABLE $tablename ( a VARCHAR(50) ) DEFAULT CHARSET 'cp1251'" ) ) { 1048 $this->markTestSkipped( "Test requires the 'cp1251' charset " );1048 $this->markTestSkipped( "Test requires the 'cp1251' charset." ); 1049 1049 } 1050 1050 … … 1063 1063 $tablename = 'test_cp1251_query_' . rand_str( 5 ); 1064 1064 if ( ! self::$_wpdb->query( "CREATE TABLE $tablename ( a VARCHAR(50) ) DEFAULT CHARSET 'cp1251'" ) ) { 1065 $this->markTestSkipped( "Test requires the 'cp1251' charset " );1065 $this->markTestSkipped( "Test requires the 'cp1251' charset." ); 1066 1066 } 1067 1067
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)