]> granicus.if.org Git - php/commitdiff
Fix test by pointing this at a smaller file that is less likely to break the test
authorRasmus Lerdorf <rasmus@php.net>
Wed, 27 Apr 2011 21:27:31 +0000 (21:27 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Wed, 27 Apr 2011 21:27:31 +0000 (21:27 +0000)
ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt

index 6aa390ca90d218dd2e6389237e347b541e42204d..2395b0134433a77a6c23240dbfc12b2870de262d 100644 (file)
@@ -8,7 +8,7 @@ Hans Zaunere
 require_once('skipif.inc');
 
 // need external DTD/XML docs
-if( @file_get_contents('http://www.php.net/') === FALSE )
+if( @file_get_contents('http://www.php.net/docs.php') === FALSE )
     exit('skip network not available');
 ?>
 --FILE--
@@ -16,7 +16,7 @@ if( @file_get_contents('http://www.php.net/') === FALSE )
 
 require_once('dom_test.inc');
 
-$XMLStringGood = file_get_contents('http://www.php.net/');
+$XMLStringGood = file_get_contents('http://www.php.net/docs.php');
 
 $dom = new DOMDocument;
 $dom->resolveExternals = TRUE;