summaryrefslogtreecommitdiff
path: root/extensions/TitleBlacklist/tests
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2014-01-14 19:24:18 +0100
committerPierre Schmitz <pierre@archlinux.de>2014-01-14 19:24:18 +0100
commit224b22a051051f6c2e494c3a2fb4adb42898e2d1 (patch)
tree85a41a4cf8533bf740ec4c8d3affce88414daa56 /extensions/TitleBlacklist/tests
parent9937b8e6d6a8b4517c04c143daaf9ebd42ce8ba0 (diff)
Update to MediaWiki 1.22.1
Diffstat (limited to 'extensions/TitleBlacklist/tests')
-rw-r--r--extensions/TitleBlacklist/tests/ApiQueryTitleBlacklistTest.php22
-rw-r--r--extensions/TitleBlacklist/tests/testSource1
2 files changed, 0 insertions, 23 deletions
diff --git a/extensions/TitleBlacklist/tests/ApiQueryTitleBlacklistTest.php b/extensions/TitleBlacklist/tests/ApiQueryTitleBlacklistTest.php
index 344e9996..1f8164e7 100644
--- a/extensions/TitleBlacklist/tests/ApiQueryTitleBlacklistTest.php
+++ b/extensions/TitleBlacklist/tests/ApiQueryTitleBlacklistTest.php
@@ -105,28 +105,6 @@ class ApiQueryTitleBlacklistTest extends ApiTestCase {
$listed[0]['titleblacklist']['line'],
'Correct blacklist line is returned'
);
- }
-
- /**
- * Tests integration with the AntiSpoof extension
- */
- function testAntiSpoofIntegration() {
- if ( !class_exists( 'AntiSpoof') ) {
- $this->markTestSkipped( "This test requires the AntiSpoof extension" );
- }
-
- $listed = $this->doApiRequest( array(
- 'action' => 'titleblacklist',
- 'tbtitle' => 'AVVVV',
- 'tbaction' => 'create',
- 'tbnooverride' => true,
- ) );
-
- $this->assertEquals(
- 'blacklisted',
- $listed[0]['titleblacklist']['result'],
- 'Spoofed title is blacklisted'
- );
}
}
diff --git a/extensions/TitleBlacklist/tests/testSource b/extensions/TitleBlacklist/tests/testSource
index 235cc671..f73d9dd7 100644
--- a/extensions/TitleBlacklist/tests/testSource
+++ b/extensions/TitleBlacklist/tests/testSource
@@ -2,4 +2,3 @@
.*[Ff]ail.*
.*[Nn]yancat.* <errmsg=blacklisted-nyancat>
.*evil_acc.* <newaccountonly>
-AW{1,10} <antispoof>