wiki.techinc.nl/tests/phpunit/includes/exception/UserNotLoggedInTest.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
361 B
PHP
Raw Normal View History

<?php
/**
* @covers \UserNotLoggedIn
* @author Addshore
*/
class UserNotLoggedInTest extends MediaWikiIntegrationTestCase {
public function testConstruction() {
$e = new UserNotLoggedIn();
$this->assertEquals( 'exception-nologin', $e->title );
$this->assertEquals( 'exception-nologin-text', $e->msg );
$this->assertEquals( [], $e->params );
}
}