wiki.techinc.nl/tests/phpunit/unit/includes/page/MovePageFactoryTest.php

24 lines
439 B
PHP
Raw Normal View History

<?php
use MediaWiki\Page\PageCommandFactory;
/**
* @covers MediaWiki\Page\PageCommandFactory
*/
class MovePageFactoryTest extends MediaWikiUnitTestCase {
use FactoryArgTestTrait;
protected static function getFactoryClass() {
return PageCommandFactory::class;
}
protected static function getInstanceClass() {
return MovePage::class;
}
protected static function getExtraClassArgCount() {
// $to and $from
return 2;
}
}