- ErrorPageError - ReadOnlyError - UserNotLoggedIn Change-Id: I9d0088d38e26a6b77e371288f1fa72dbe481cf66
16 lines
359 B
PHP
16 lines
359 B
PHP
<?php
|
|
|
|
/**
|
|
* @covers UserNotLoggedIn
|
|
* @author Adam Shorland
|
|
*/
|
|
class UserNotLoggedInTest extends MediaWikiTestCase {
|
|
|
|
public function testConstruction() {
|
|
$e = new UserNotLoggedIn();
|
|
$this->assertEquals( 'exception-nologin', $e->title );
|
|
$this->assertEquals( 'exception-nologin-text', $e->msg );
|
|
$this->assertEquals( array(), $e->params );
|
|
}
|
|
|
|
}
|