File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/internal/Magento/Framework/Filesystem/Test/Unit/Io Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments