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
|
|
|
*/
|
2020-06-30 15:09:24 +00:00
|
|
|
class UserNotLoggedInTest extends MediaWikiIntegrationTestCase {
|
2014-02-27 00:00:17 +00:00
|
|
|
|
|
|
|
|
public function testConstruction() {
|
|
|
|
|
$e = new UserNotLoggedIn();
|
|
|
|
|
$this->assertEquals( 'exception-nologin', $e->title );
|
|
|
|
|
$this->assertEquals( 'exception-nologin-text', $e->msg );
|
2016-02-17 09:09:32 +00:00
|
|
|
$this->assertEquals( [], $e->params );
|
2014-02-27 00:00:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|