Skip to content

Commit e0a11e1

Browse files
committed
B2B-2015: [AWS S3] [Integration Tests]: Investigate Test Failures in Framework
1 parent b45c35d commit e0a11e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/tests/integration/testsuite/Magento/Framework/File/UploaderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
use Magento\Customer\Model\FileProcessor;
1111
use 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';

0 commit comments

Comments
 (0)