repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge "Update docs/hooks.txt for ShowSearchHitTitle"
[mediawiki.git]
/
tests
/
phpunit
/
includes
/
mail
/
UserMailerTest.php
blob
dca8aeb997f20da120f3436e5acedd54eb64d658
1
<
?php
2
3
class
UserMailerTest
extends
MediaWikiLangTestCase
{
4
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\x88
u legebla?"
,
"UTF-8"
) );
12
}
13
14
}