This reverts commit 0a2b996278.
Reason for revert: Broke postgres tests.
Change-Id: I27d8e0c807ad5f0748b9611a4f3df84cc213fbe1
16 lines
349 B
PHP
16 lines
349 B
PHP
<?php
|
|
|
|
/**
|
|
* @covers UserNotLoggedIn
|
|
* @author Addshore
|
|
*/
|
|
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( [], $e->params );
|
|
}
|
|
|
|
}
|