diff --git a/maintenance/MathGenerateTests.php b/maintenance/MathGenerateTests.php index 0cfeb8b..0bbf9c7 100644 --- a/maintenance/MathGenerateTests.php +++ b/maintenance/MathGenerateTests.php @@ -27,7 +27,7 @@ class MathGenerateTests extends Maintenance { public function __construct() { parent::__construct(); $this->requireExtension( 'Math' ); - $this->mDescription = 'Rebuilds the MathCoverage tests'; + $this->addDescription( 'Rebuilds the MathCoverage tests' ); $this->addArg( 'page', "The page used for the testset generation.", false ); $this->addOption( 'offset', "If set the first n equations on the page are skipped", false, true, "o" diff --git a/tests/wfTest.php b/tests/wfTest.php index 0a18a0a..ce04432 100644 --- a/tests/wfTest.php +++ b/tests/wfTest.php @@ -13,7 +13,7 @@ class DummyTest extends Maintenance { public function __construct() { parent::__construct(); $this->requireExtension( 'Math' ); - $this->mDescription = 'Test Mathoid CLI'; + $this->addDescription( 'Test Mathoid CLI' ); $this->addArg( 'page', "The page used for the testset generation.", false ); $this->addOption( 'offset', "If set the first n equations on the page are skipped", false, true, "o" );