File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
dev/tests/integration/testsuite/Magento/Framework/File Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 99
1010use Magento \Customer \Model \FileProcessor ;
1111use Magento \Framework \App \Filesystem \DirectoryList ;
12+ use Magento \Framework \Filesystem \DriverPool ;
1213
1314/**
1415 * Test for \Magento\Framework\File\Uploader
@@ -102,7 +103,7 @@ public function testUploadFileWithExcessiveFolderName(): void
102103 public function testUploadFileWhenOldMediaGalleryDisabled (string $ directoryCode ): void
103104 {
104105 $ destinationDirectory = $ this ->filesystem ->getDirectoryWrite ($ directoryCode );
105- $ tmpDirectory = $ this ->filesystem ->getDirectoryWrite (DirectoryList::SYS_TMP );
106+ $ tmpDirectory = $ this ->filesystem ->getDirectoryWrite (DirectoryList::SYS_TMP , DriverPool:: FILE );
106107
107108 $ fileName = 'file.txt ' ;
108109 $ destinationDir = 'tmp ' ;
You can’t perform that action at this time.
0 commit comments