Changeset 747 in tests
- Timestamp:
- 06/28/2012 07:50:22 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-testcase/test_db.php
r746 r747 52 52 53 53 // Switch to Russian 54 setlocale( LC_ALL, 'ru_RU.utf8', 'rus' ); 54 $flag = setlocale( LC_ALL, 'ru_RU.utf8', 'rus', 'fr_FR.utf8', 'fr_FR', 'de_DE.utf8', 'de_DE', 'es_ES.utf8', 'es_ES' ); 55 if ( false === $flag ) 56 $this->markTestSkipped( 'No European languages available for testing' ); 55 57 56 58 // Try an update query 59 $wpdb->suppress_errors( true ); 57 60 $wpdb->update( 58 61 'test_table', … … 62 65 array( '%d' ) 63 66 ); 67 $wpdb->suppress_errors( false ); 64 68 65 69 // Ensure the float isn't 0,700
Note: See TracChangeset
for help on using the changeset viewer.