Ticket #31262: 31262.diff
File 31262.diff, 667 bytes (added by , 9 years ago) |
---|
-
tests/phpunit/tests/db/charset.php
122 122 * @ticket 21212 123 123 */ 124 124 function test_strip_invalid_text( $data, $expected, $message ) { 125 if ( version_compare( PHP_VERSION, '5.3', '<') && stristr( php_uname( 's' ), 'win' ) ) { 126 $this->markTestSkipped( 'This test fails in PHP 5.2 on Windows. See https://core.trac.wordpress.org/ticket/31262' ); 127 } 128 125 129 $actual = self::$_wpdb->strip_invalid_text( $data ); 126 130 $this->assertSame( $expected, $actual, $message ); 127 131 }