From 53204a26d2a4a2d47cb92c4fcfce235b5e05fd77 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Wed, 27 Apr 2011 21:27:31 +0000 Subject: [PATCH] Fix test by pointing this at a smaller file that is less likely to break the test --- ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt | 4 ++-- 1 file 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; -- 2.50.1