2019-12-03 23:39:28 +00:00
|
|
|
<?php
|
|
|
|
|
2019-12-10 15:24:49 +00:00
|
|
|
namespace Cite\Tests;
|
2019-12-03 23:39:28 +00:00
|
|
|
|
2019-12-10 15:24:49 +00:00
|
|
|
use Cite\ReferenceMessageLocalizer;
|
2019-12-03 23:39:28 +00:00
|
|
|
use LanguageQqx;
|
|
|
|
|
|
|
|
/**
|
2023-12-14 01:53:19 +00:00
|
|
|
* @covers \Cite\ReferenceMessageLocalizer
|
2023-12-15 11:12:16 +00:00
|
|
|
* @license GPL-2.0-or-later
|
2019-12-03 23:39:28 +00:00
|
|
|
*/
|
2019-12-10 15:24:49 +00:00
|
|
|
class ReferenceMessageLocalizerTest extends \MediaWikiIntegrationTestCase {
|
2019-12-09 14:07:37 +00:00
|
|
|
|
2019-12-03 23:39:28 +00:00
|
|
|
public function testMsg() {
|
|
|
|
$localizer = new ReferenceMessageLocalizer( new LanguageQqx() );
|
|
|
|
$this->assertSame(
|
|
|
|
'(cite_reference_link_prefix)',
|
|
|
|
$localizer->msg( 'cite_reference_link_prefix' )->plain() );
|
|
|
|
}
|
2019-12-09 14:07:37 +00:00
|
|
|
|
2019-12-03 23:39:28 +00:00
|
|
|
}
|