diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-02-24 21:30:20 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-02-24 21:30:20 +0100 |
commit | 766f827e26d76c17945ed1fd36f65eaa57419607 (patch) | |
tree | b7118e4d38649b73397960426c733506e5fce913 | |
parent | 3ec37a74a27261193155228081ec1bf6df35868e (diff) | |
download | php-git-766f827e26d76c17945ed1fd36f65eaa57419607.tar.gz |
Fix potential file collision in dom tests
-rw-r--r-- | ext/dom/tests/DOMDocument_saveHTMLFile_basic.phpt | 2 | ||||
-rw-r--r-- | ext/dom/tests/DOMDocument_saveHTMLFile_formatOutput.phpt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/tests/DOMDocument_saveHTMLFile_basic.phpt b/ext/dom/tests/DOMDocument_saveHTMLFile_basic.phpt index 30c090679c..f71db0c32a 100644 --- a/ext/dom/tests/DOMDocument_saveHTMLFile_basic.phpt +++ b/ext/dom/tests/DOMDocument_saveHTMLFile_basic.phpt @@ -9,7 +9,7 @@ require_once __DIR__ .'/skipif.inc'; ?> --FILE-- <?php -$filename = __DIR__."/tmp_savehtmlfile".time().".html"; +$filename = __DIR__."/DOMDocument_saveHTMLFile_basic.html"; $doc = new DOMDocument('1.0'); $root = $doc->createElement('html'); $root = $doc->appendChild($root); diff --git a/ext/dom/tests/DOMDocument_saveHTMLFile_formatOutput.phpt b/ext/dom/tests/DOMDocument_saveHTMLFile_formatOutput.phpt index 02ced08282..376c9a8e32 100644 --- a/ext/dom/tests/DOMDocument_saveHTMLFile_formatOutput.phpt +++ b/ext/dom/tests/DOMDocument_saveHTMLFile_formatOutput.phpt @@ -9,7 +9,7 @@ require_once __DIR__ .'/skipif.inc'; ?> --FILE-- <?php -$filename = __DIR__."/tmp_savehtmlfile".time().".html"; +$filename = __DIR__."/DOMDocument_saveHTMLFile_formatOutput.html"; $doc = new DOMDocument('1.0'); $doc->formatOutput = true; $root = $doc->createElement('html'); |