Changeset 1178 in tests for trunk/tests/formatting/RemoveAccents.php
- Timestamp:
- 12/30/2012 02:06:19 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/formatting/RemoveAccents.php
r915 r1178 80 80 $this->assertEquals( 'aaeiouuAEIOUU', remove_accents( 'aɑeiouüAEIOUÜ' ) ); 81 81 } 82 83 function _remove_accents_germanic_umlauts_cb() { 84 return 'de_DE'; 85 } 86 87 /** 88 * @ticket 3782 89 */ 90 public function test_remove_accents_germanic_umlauts() { 91 add_filter( 'locale', array( $this, '_remove_accents_germanic_umlauts_cb' ) ); 92 93 $this->assertEquals( 'aeoeuess', remove_accents( 'äöüß' ) ); 94 95 remove_filter( 'locale', array( $this, '_remove_accents_germanic_umlauts_cb' ) ); 96 } 82 97 }
Note: See TracChangeset
for help on using the changeset viewer.