From: Rasmus Lerdorf Date: Wed, 27 Apr 2011 21:27:00 +0000 (+0000) Subject: Fix test by pointing this at a smaller file that is less likely to break the test X-Git-Tag: php-5.3.7RC1~160 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c564a7802727c8b925c07d362913259b808a51d;p=php Fix test by pointing this at a smaller file that is less likely to break the test --- diff --git a/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt b/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt index 6aa390ca90..2395b01344 100644 --- a/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt +++ b/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt @@ -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;