summaryrefslogtreecommitdiff
path: root/tests/phpunit/includes/UserMailerTest.php
blob: 278edfaa9a2769a4b4bfe267c67d068611d00836 (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" ) );
	}

}