We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 454d22b commit bea731aCopy full SHA for bea731a
Tests/FilesystemTest.php
@@ -863,7 +863,7 @@ public function testRenameOverwritesTheTargetIfItAlreadyExists()
863
public function testRenameThrowsExceptionOnError()
864
{
865
$this->expectException(IOException::class);
866
- $file = $this->workspace.\DIRECTORY_SEPARATOR.uniqid('fs_test_', true);
+ $file = $this->workspace.\DIRECTORY_SEPARATOR.'does-not-exist';
867
$newPath = $this->workspace.\DIRECTORY_SEPARATOR.'new_file';
868
869
$this->filesystem->rename($file, $newPath);
0 commit comments