Mattflaschen has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/351218 )

Change subject: Add test case names for SpamFilter, to make which fails obvious
......................................................................

Add test case names for SpamFilter, to make which fails obvious

Change-Id: Ib1cfed6855a672e5b3927ad7f73ea33c7f04626c
---
M tests/phpunit/SpamFilter/SpamBlacklistTest.php
1 file changed, 3 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/18/351218/1

diff --git a/tests/phpunit/SpamFilter/SpamBlacklistTest.php 
b/tests/phpunit/SpamFilter/SpamBlacklistTest.php
index 02e8ee4..bd0ab66 100644
--- a/tests/phpunit/SpamFilter/SpamBlacklistTest.php
+++ b/tests/phpunit/SpamFilter/SpamBlacklistTest.php
@@ -32,20 +32,17 @@
 
        public function spamProvider() {
                return array(
-                       array(
-                               // default new topic title revision - no spam
+                       'default new topic title revision - no spam' => array(
                                $this->generateObject(),
                                null,
                                true
                        ),
-                       array(
-                               // revision with spam
+                       'revision with spam' => array(
                                $this->generateObject( array( 'rev_content' => 
'http://01bags.com', 'rev_flags' => 'html' ) ),
                                null,
                                false
                        ),
-                       array(
-                               // revision with domain blacklisted as spam, 
but subdomain whitelisted
+                       'revision with domain blacklisted as spam, but 
subdomain whitelisted' => array(
                                $this->generateObject( array( 'rev_content' => 
'http://a5b.sytes.net', 'rev_flags' => 'html' ) ),
                                null,
                                true

-- 
To view, visit https://gerrit.wikimedia.org/r/351218
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib1cfed6855a672e5b3927ad7f73ea33c7f04626c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to