http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89292

Revision: 89292
Author:   brion
Date:     2011-06-01 21:25:45 +0000 (Wed, 01 Jun 2011)
Log Message:
-----------
Tweak HttpTest following r89278:
* remove FTP test case URL (shouldn't actually work, and as a directory 
listing, not super stable)
* remove old test case URLs that are now 30x redirects (example.com and a 
toolserver link), which broke the comparison tests
* added in http://en.wikipedia.org/robots.txt so we've got a nice basic fetch 
on one of our servers too

Now this test class is down to 3 failures, in URL & domain validation stuff

Modified Paths:
--------------
    trunk/phase3/tests/phpunit/includes/HttpTest.php

Modified: trunk/phase3/tests/phpunit/includes/HttpTest.php
===================================================================
--- trunk/phase3/tests/phpunit/includes/HttpTest.php    2011-06-01 21:22:53 UTC 
(rev 89291)
+++ trunk/phase3/tests/phpunit/includes/HttpTest.php    2011-06-01 21:25:45 UTC 
(rev 89292)
@@ -17,11 +17,9 @@
        static $has_proxy = false;
        static $proxy = "http://hulk:8080/";;
        var $test_geturl = array(
-               "ftp://ftp.kernel.org/";,
-               "http://www.example.com/";,
+               "http://en.wikipedia.org/robots.txt";,
                "https://secure.wikimedia.org/";,
                "http://pecl.php.net/feeds/pkg_apc.rss";,
-               
"http://toolserver.org/~jan/poll/dev/main.php?page=wiki_output&id=3";,
                
"http://meta.wikimedia.org/w/index.php?title=Interwiki_map&action=raw";,
                
"http://www.mediawiki.org/w/api.php?action=query&list=categorymembers&cmtitle=Category:MediaWiki_hooks&format=php";,
        );


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

Reply via email to