Skip to content

Commit 766f827

Browse files
committed
Fix potential file collision in dom tests
1 parent 3ec37a7 commit 766f827

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/dom/tests/DOMDocument_saveHTMLFile_basic.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require_once __DIR__ .'/skipif.inc';
99
?>
1010
--FILE--
1111
<?php
12-
$filename = __DIR__."/tmp_savehtmlfile".time().".html";
12+
$filename = __DIR__."/DOMDocument_saveHTMLFile_basic.html";
1313
$doc = new DOMDocument('1.0');
1414
$root = $doc->createElement('html');
1515
$root = $doc->appendChild($root);

ext/dom/tests/DOMDocument_saveHTMLFile_formatOutput.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require_once __DIR__ .'/skipif.inc';
99
?>
1010
--FILE--
1111
<?php
12-
$filename = __DIR__."/tmp_savehtmlfile".time().".html";
12+
$filename = __DIR__."/DOMDocument_saveHTMLFile_formatOutput.html";
1313
$doc = new DOMDocument('1.0');
1414
$doc->formatOutput = true;
1515
$root = $doc->createElement('html');

0 commit comments

Comments
 (0)