Import: Handle uploads with sha1 starting with 0 properly
[mediawiki.git] / tests / phpunit / includes / exception / UserNotLoggedInTest.php
blob591a0fa1eae085ff95b3209ac265202c1fc71e52
1 <?php
3 /**
4 * @covers UserNotLoggedIn
5 * @author Adam Shorland
6 */
7 class UserNotLoggedInTest extends MediaWikiTestCase {
9 public function testConstruction() {
10 $e = new UserNotLoggedIn();
11 $this->assertEquals( 'exception-nologin', $e->title );
12 $this->assertEquals( 'exception-nologin-text', $e->msg );
13 $this->assertEquals( array(), $e->params );