wiki.techinc.nl/tests/phpunit/includes/SystemBlockTest.php

22 lines
393 B
PHP
Raw Normal View History

<?php
use MediaWiki\Block\SystemBlock;
/**
* @group Blocking
* @coversDefaultClass \MediaWiki\Block\SystemBlock
*/
class SystemBlockTest extends MediaWikiLangTestCase {
/**
* @covers ::getSystemBlockType
*/
public function testSystemBlockType() {
$block = new SystemBlock( [
'systemBlock' => 'proxy',
] );
$this->assertSame( 'proxy', $block->getSystemBlockType() );
}
}