Changeset 26585 for trunk/tests/phpunit/tests/formatting/RemoveAccents.php
- Timestamp:
- 12/03/2013 08:38:03 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/RemoveAccents.php
r25002 r26585 95 95 remove_filter( 'locale', array( $this, '_remove_accents_germanic_umlauts_cb' ) ); 96 96 } 97 98 public function _set_locale_to_danish() { 99 return 'da_DK'; 100 } 101 102 /** 103 * @ticket 23907 104 */ 105 public function test_remove_danish_accents() { 106 add_filter( 'locale', array( $this, '_set_locale_to_danish' ) ); 107 108 $this->assertEquals( 'AeOeAaaeoeaa', remove_accents( 'ÆØÅæøå' ) ); 109 110 remove_filter( 'locale', array( $this, '_set_locale_to_danish' ) ); 111 } 112 97 113 }
Note: See TracChangeset
for help on using the changeset viewer.