Skip to content

Commit c2cfa83

Browse files
committed
B2B-2017: [AWS S3] [Integration Tests]: Investigate Test Failures in ImportExport module
1 parent 51de51a commit c2cfa83

File tree

1 file changed

+4
-1
lines changed
  • dev/tests/integration/testsuite/Magento/ImportExport/Model/Export/Adapter

1 file changed

+4
-1
lines changed

dev/tests/integration/testsuite/Magento/ImportExport/Model/Export/Adapter/CsvTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ protected function setUp(): void
4848
*/
4949
public function testDestruct(string $destination, bool $shouldBeDeleted): void
5050
{
51-
$csv = $this->objectManager->create(Csv::class, ['destination' => $destination]);
51+
$csv = $this->objectManager->create(Csv::class, [
52+
'destination' => $destination,
53+
'destinationDirectoryCode' => DirectoryList::VAR_DIR
54+
]);
5255
/** @var Filesystem $fileSystem */
5356
$fileSystem = $this->objectManager->get(Filesystem::class);
5457
$directoryHandle = $fileSystem->getDirectoryRead(DirectoryList::VAR_DIR);

0 commit comments

Comments
 (0)