wiki.techinc.nl/tests/phpunit/unit/includes/mail/UserMailerTest.php
DannyS712 52359768c5 Convert or split some tests to MediaWikiUnitTestCase
Don't require any integration

Change-Id: I293a84ce8fe87fc6932f8a6400d6ca443ccc6235
2021-01-07 17:51:27 +00:00

15 lines
289 B
PHP

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