summaryrefslogtreecommitdiff
path: root/tests/phpunit/includes/mail/UserMailerTest.php
blob: dca8aeb997f20da120f3436e5acedd54eb64d658 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

class UserMailerTest extends MediaWikiLangTestCase {

	/**
	 * @covers UserMailer::quotedPrintable
	 */
	public function testQuotedPrintable() {
		$this->assertEquals(
			"=?UTF-8?Q?=C4=88u=20legebla=3F?=",
			UserMailer::quotedPrintable( "\xc4\x88u legebla?", "UTF-8" ) );
	}

}