Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bea731a

Browse filesBrowse files
committed
do not use uniqid() in tests
updates the remaining tests that were not covered by #57665
1 parent 454d22b commit bea731a
Copy full SHA for bea731a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎Tests/FilesystemTest.php

Copy file name to clipboardExpand all lines: Tests/FilesystemTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ public function testRenameOverwritesTheTargetIfItAlreadyExists()
863863
public function testRenameThrowsExceptionOnError()
864864
{
865865
$this->expectException(IOException::class);
866-
$file = $this->workspace.\DIRECTORY_SEPARATOR.uniqid('fs_test_', true);
866+
$file = $this->workspace.\DIRECTORY_SEPARATOR.'does-not-exist';
867867
$newPath = $this->workspace.\DIRECTORY_SEPARATOR.'new_file';
868868

869869
$this->filesystem->rename($file, $newPath);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.