Skip to content

Commit 53204a2

Browse files
committed
Fix test by pointing this at a smaller file that is less likely to break the test
1 parent c09f082 commit 53204a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ Hans Zaunere
88
require_once('skipif.inc');
99

1010
// need external DTD/XML docs
11-
if( @file_get_contents('http://www.php.net/') === FALSE )
11+
if( @file_get_contents('http://www.php.net/docs.php') === FALSE )
1212
exit('skip network not available');
1313
?>
1414
--FILE--
1515
<?php
1616

1717
require_once('dom_test.inc');
1818

19-
$XMLStringGood = file_get_contents('http://www.php.net/');
19+
$XMLStringGood = file_get_contents('http://www.php.net/docs.php');
2020

2121
$dom = new DOMDocument;
2222
$dom->resolveExternals = TRUE;

0 commit comments

Comments
 (0)