Skip to content

Commit a00f2d0

Browse files
committed
Fix static errors
1 parent ed111ae commit a00f2d0

File tree

1 file changed

+3
-3
lines changed
  • lib/internal/Magento/Framework/Filesystem/Test/Unit/Io

1 file changed

+3
-3
lines changed

lib/internal/Magento/Framework/Filesystem/Test/Unit/Io/FileTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ private function getTmpDir()
2424
* To cover the issue on GitHub: #27866
2525
* @throws LocalizedException
2626
*/
27-
public function testReadShouldCopyTheSourceFileToTheGivenGileResource()
27+
public function testReadShouldCopyTheSourceFileToTheGivenFileResource()
2828
{
2929
$content = \mt_rand();
3030
$sourceFileName = "source-file.txt";
@@ -33,9 +33,9 @@ public function testReadShouldCopyTheSourceFileToTheGivenGileResource()
3333

3434
$file = new File();
3535
$targetFileName = "target-file.txt";
36-
$targetFileHandle = \fopen("{$tmpDir}/{$targetFileName}" , 'w');
36+
$targetFileHandle = \fopen("{$tmpDir}/{$targetFileName}", 'w');
3737
$file->cd($tmpDir);
38-
$result = $file->read($sourceFileName, $targetFileHandle);
38+
$file->read($sourceFileName, $targetFileHandle);
3939

4040
$targetContent = file_get_contents("{$tmpDir}/{$targetFileName}");
4141
$this->assertEquals($content, $targetContent);

0 commit comments

Comments
 (0)