summaryrefslogtreecommitdiff
path: root/tests/phpunit/includes/exception/UserNotLoggedInTest.php
blob: 591a0fa1eae085ff95b3209ac265202c1fc71e52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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 );
	}

}