Merge "Remove parameter 'options' from hook 'SkinEditSectionLinks'"
[lhc/web/wiklou.git] / tests / phpunit / includes / SystemBlockTest.php
1 <?php
2
3 use MediaWiki\Block\SystemBlock;
4
5 /**
6 * @group Blocking
7 * @coversDefaultClass \MediaWiki\Block\SystemBlock
8 */
9 class SystemBlockTest extends MediaWikiLangTestCase {
10 /**
11 * @covers ::getSystemBlockType
12 */
13 public function testSystemBlockType() {
14 $block = new SystemBlock( [
15 'systemBlock' => 'proxy',
16 ] );
17
18 $this->assertSame( 'proxy', $block->getSystemBlockType() );
19 }
20
21 }