mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-15 11:48:23 +00:00
ee2867db2d
MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34. Bug: T293043 Change-Id: Icef9bbb1c515b775ccdcf6bc692c8c2cab4ae503
23 lines
544 B
PHP
23 lines
544 B
PHP
<?php
|
|
|
|
use MediaWiki\Extension\Math\InputCheck\BaseChecker;
|
|
|
|
/**
|
|
* @covers \MediaWiki\Extension\Math\InputCheck\BaseChecker
|
|
*
|
|
* @group Math
|
|
*
|
|
* @license GPL-2.0-or-later
|
|
*/
|
|
class MathInputCheckTest extends MediaWikiIntegrationTestCase {
|
|
|
|
public function testAbstractClass() {
|
|
$InputCheck = $this->getMockForAbstractClass( BaseChecker::class );
|
|
/** @var BaseChecker $InputCheck */
|
|
$this->assertFalse( $InputCheck->IsValid() );
|
|
$this->assertNull( $InputCheck->getError() );
|
|
$this->assertNull( $InputCheck->getValidTex() );
|
|
}
|
|
|
|
}
|