Merge "Update docs/hooks.txt for ShowSearchHitTitle"
[mediawiki.git] / tests / phpunit / includes / mail / UserMailerTest.php
blobdca8aeb997f20da120f3436e5acedd54eb64d658
1 <?php
3 class UserMailerTest extends MediaWikiLangTestCase {
5 /**
6 * @covers UserMailer::quotedPrintable
7 */
8 public function testQuotedPrintable() {
9 $this->assertEquals(
10 "=?UTF-8?Q?=C4=88u=20legebla=3F?=",
11 UserMailer::quotedPrintable( "\xc4\x88u legebla?", "UTF-8" ) );