mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-23 22:03:28 +00:00
Merge "Use @coversDefaultClass in test case"
This commit is contained in:
commit
46b930ff28
|
@ -9,12 +9,13 @@ use RequestContext;
|
|||
|
||||
/**
|
||||
* @group CodeMirror
|
||||
* @coversDefaultClass \MediaWiki\Extension\CodeMirror\Hooks
|
||||
*/
|
||||
class HookTest extends MediaWikiIntegrationTestCase {
|
||||
|
||||
/**
|
||||
* @covers \MediaWiki\Extension\CodeMirror\Hooks::isCodeMirrorOnPage
|
||||
* @covers \MediaWiki\Extension\CodeMirror\Hooks::onBeforePageDisplay
|
||||
* @covers ::isCodeMirrorOnPage
|
||||
* @covers ::onBeforePageDisplay
|
||||
*/
|
||||
public function testOnBeforePageDisplay() {
|
||||
$userOptionsLookup = $this->createMock( UserOptionsLookup::class );
|
||||
|
@ -33,7 +34,7 @@ class HookTest extends MediaWikiIntegrationTestCase {
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers \MediaWiki\Extension\CodeMirror\Hooks::onGetPreferences
|
||||
* @covers ::onGetPreferences
|
||||
*/
|
||||
public function testPreferenceRegistered() {
|
||||
$user = self::getTestUser()->getUser();
|
||||
|
|
Loading…
Reference in a new issue