From: Reedy Date: Fri, 1 Dec 2017 19:33:10 +0000 (+0000) Subject: Add abstract functions to abstract class.. X-Git-Tag: 1.31.0-rc.0~856 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/?a=commitdiff_plain;h=0d0f4e6eff6d02762d31ba91006c12a0564c2901;p=lhc%2Fweb%2Fwiklou.git Add abstract functions to abstract class.. Rather than just expecting the child class to have them Change-Id: Ib145d333e3b8908a8535e974ec8f1f69b2b10e3a --- diff --git a/tests/phpunit/includes/specialpage/AbstractChangesListSpecialPageTestCase.php b/tests/phpunit/includes/specialpage/AbstractChangesListSpecialPageTestCase.php index 04b12e6378..8b8ba0c0e1 100644 --- a/tests/phpunit/includes/specialpage/AbstractChangesListSpecialPageTestCase.php +++ b/tests/phpunit/includes/specialpage/AbstractChangesListSpecialPageTestCase.php @@ -47,6 +47,8 @@ abstract class AbstractChangesListSpecialPageTestCase extends MediaWikiTestCase $this->changesListSpecialPage->registerFilters(); } + abstract protected function getPage(); + protected function tearDown() { global $wgGroupPermissions; @@ -57,6 +59,8 @@ abstract class AbstractChangesListSpecialPageTestCase extends MediaWikiTestCase } } + abstract public function provideParseParameters(); + /** * @dataProvider provideParseParameters */