wiki.techinc.nl/tests/phpunit/includes/exception/UserNotLoggedInTest.php
Reedy 85396a9c99 tests: Fix @covers and @coversDefaultClass to have leading \
Change-Id: I5629f91387f2ac453ee4341bfe4bba310bd52f03
2024-02-16 22:43:56 +00:00

16 lines
361 B
PHP

<?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 );
}
}