2014-02-27 00:00:17 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @covers UserNotLoggedIn
|
2016-01-27 09:59:31 +00:00
|
|
|
* @author Addshore
|
2014-02-27 00:00:17 +00:00
|
|
|
*/
|
|
|
|
|
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 );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|