UserMailerTest.php 287 B

123456789101112131415
  1. <?php
  2. class UserMailerTest extends MediaWikiLangTestCase {
  3. /**
  4. * @covers UserMailer::quotedPrintable
  5. */
  6. public function testQuotedPrintable() {
  7. $this->assertEquals(
  8. "=?UTF-8?Q?=C4=88u=20legebla=3F?=",
  9. UserMailer::quotedPrintable( "\xc4\x88u legebla?", "UTF-8" ) );
  10. }
  11. }