Changeset 48937 for trunk/tests/phpunit/tests/formatting/WpRichEditPre.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/WpRichEditPre.php
r46586 r48937 18 18 add_filter( 'pre_option_blog_charset', array( $this, '_charset_iso_8859_1' ) ); 19 19 $iso8859_1 = 'Fran' . chr( 135 ) . 'ais'; 20 $this->assert Equals( '<p>' . $iso8859_1 . "</p>\n", wp_richedit_pre( $iso8859_1 ) );20 $this->assertSame( '<p>' . $iso8859_1 . "</p>\n", wp_richedit_pre( $iso8859_1 ) ); 21 21 remove_filter( 'pre_option_blog_charset', array( $this, '_charset_iso_8859_1' ) ); 22 22 } … … 32 32 add_filter( 'pre_option_blog_charset', array( $this, '_charset_utf_8' ) ); 33 33 $utf8 = 'Fran' . chr( 195 ) . chr( 167 ) . 'ais'; 34 $this->assert Equals( '<p>' . $utf8 . "</p>\n", wp_richedit_pre( $utf8 ) );34 $this->assertSame( '<p>' . $utf8 . "</p>\n", wp_richedit_pre( $utf8 ) ); 35 35 remove_filter( 'pre_option_blog_charset', array( $this, '_charset_utf_8' ) ); 36 36 }
Note: See TracChangeset
for help on using the changeset viewer.