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:
Antoine Musso 2013-03-14 04:56:42 +01:00
parent 25eb7cd0ee
commit 0e7092026b

View file

@ -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 ) {