summaryrefslogtreecommitdiff
path: root/ext/dom
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2011-04-27 21:27:00 +0000
committerRasmus Lerdorf <rasmus@php.net>2011-04-27 21:27:00 +0000
commit6c564a7802727c8b925c07d362913259b808a51d (patch)
tree130da3285fc67175b7cd2b8aadb1998a527eefbf /ext/dom
parenta44515caf9be9eaa350707a0c6b18682b2bbdeb9 (diff)
downloadphp-git-6c564a7802727c8b925c07d362913259b808a51d.tar.gz
Fix test by pointing this at a smaller file that is less likely to break the test
Diffstat (limited to 'ext/dom')
-rw-r--r--ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt4
1 files changed, 2 insertions, 2 deletions
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;