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

}