aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/GlobalFunctions/GlobalWithDBTest.php
diff options
context:
space:
mode:
authoraddshore <addshorewiki@gmail.com>2013-10-24 10:53:24 +0100
committerHashar <hashar@free.fr>2013-10-24 10:00:55 +0000
commit4bb09bbca5965b47f2ae28b8ef13c2b9c524d6ae (patch)
tree9ec5adb477537a8fe2cbe621d536848b4822dab1 /tests/phpunit/includes/GlobalFunctions/GlobalWithDBTest.php
parentc8006382739518fda279344638b8e263d84d72dc (diff)
downloadmediawikicore-4bb09bbca5965b47f2ae28b8ef13c2b9c524d6ae.tar.gz
mediawikicore-4bb09bbca5965b47f2ae28b8ef13c2b9c524d6ae.zip
@covers for all GlobalFunc tests
Also split 2 tests off into their correct test classes, this methods are clearly no longer global functions Change-Id: I482433f3099e72507a766e85d9576ff36e58b9ad
Diffstat (limited to 'tests/phpunit/includes/GlobalFunctions/GlobalWithDBTest.php')
-rw-r--r--tests/phpunit/includes/GlobalFunctions/GlobalWithDBTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/phpunit/includes/GlobalFunctions/GlobalWithDBTest.php b/tests/phpunit/includes/GlobalFunctions/GlobalWithDBTest.php
index 8d1529618da4..cf891e7b4f4d 100644
--- a/tests/phpunit/includes/GlobalFunctions/GlobalWithDBTest.php
+++ b/tests/phpunit/includes/GlobalFunctions/GlobalWithDBTest.php
@@ -6,6 +6,7 @@
class GlobalWithDBTest extends MediaWikiTestCase {
/**
* @dataProvider provideWfIsBadImageList
+ * @covers ::wfIsBadImage
*/
public function testWfIsBadImage( $name, $title, $blacklist, $expected, $desc ) {
$this->assertEquals( $expected, wfIsBadImage( $name, $title, $blacklist ), $desc );