mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-01 01:56:20 +00:00
22 lines
462 B
PHP
22 lines
462 B
PHP
|
<?php
|
||
|
|
||
|
namespace Cite;
|
||
|
|
||
|
use LanguageQqx;
|
||
|
use MediaWikiIntegrationTestCase;
|
||
|
|
||
|
/**
|
||
|
* @coversDefaultClass \Cite\ReferenceMessageLocalizer
|
||
|
*/
|
||
|
class ReferenceMessageLocalizerTest extends MediaWikiIntegrationTestCase {
|
||
|
/**
|
||
|
* @covers ::msg
|
||
|
*/
|
||
|
public function testMsg() {
|
||
|
$localizer = new ReferenceMessageLocalizer( new LanguageQqx() );
|
||
|
$this->assertSame(
|
||
|
'(cite_reference_link_prefix)',
|
||
|
$localizer->msg( 'cite_reference_link_prefix' )->plain() );
|
||
|
}
|
||
|
}
|