svn: /php/php-src/branches/PHP_5_3/ext/dom/tests/ DOMDocument_validate_on_parse_variation.phpt
| From: | Rasmus Lerdorf | Date: | Wed, 27 Apr 2011 21:27:00 +0000 |
| Subject: | svn: /php/php-src/branches/PHP_5_3/ext/dom/tests/ DOMDocument_validate_on_parse_variation.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-64847@lists.php.net to get a copy of this message | ||
rasmus Wed, 27 Apr 2011 21:27:00 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=310602
Log:
Fix test by pointing this at a smaller file that is less likely to break the test
Changed paths:
U php/php-src/branches/PHP_5_3/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt
Modified: php/php-src/branches/PHP_5_3/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt
===================================================================
---
php/php-src/branches/PHP_5_3/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt 2011-04-27
21:08:45 UTC (rev 310601)
+++
php/php-src/branches/PHP_5_3/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt 2011-04-27
21:27:00 UTC (rev 310602)
@@ -8,7 +8,7 @@
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 @@
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;