typo in @cover statement
PHP Code Coverage uses the @cover comment statement to limit code coverage to some specific function. The method reference lacked the trailing 's' leading to an error when running coverage: PHP_CodeCoverage_Exception: Trying to @cover not existing method "Title::checkReadPermission". Change-Id: Ie09e804039271ec8f0165c32dc7849ea4be8a3b9
This commit is contained in:
parent
25eb7cd0ee
commit
0e7092026b
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ class TitleTest extends MediaWikiTestCase {
|
|||
* @param string $action
|
||||
* @param array|string|true $expected Required error
|
||||
*
|
||||
* @covers Title::checkReadPermission
|
||||
* @covers Title::checkReadPermissions
|
||||
* @dataProvider dataWgWhitelistReadRegexp
|
||||
*/
|
||||
function testWgWhitelistReadRegexp( $whitelistRegexp, $source, $action, $expected ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue