Skip to content

Commit ec8cd99

Browse files
committed
B2B-2024: [AWS S3] [Integration Tests]: Investigate Test Failures in cms module
1 parent 9be7ce5 commit ec8cd99

File tree

1 file changed

+2
-1
lines changed
  • dev/tests/integration/testsuite/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images

1 file changed

+2
-1
lines changed

dev/tests/integration/testsuite/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/UploadTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ protected function setUp(): void
8787
/** @var \Magento\Cms\Helper\Wysiwyg\Images $imagesHelper */
8888
$this->imagesHelper = $this->objectManager->get(\Magento\Cms\Helper\Wysiwyg\Images::class);
8989
$this->mediaDirectory = $this->filesystem->getDirectoryWrite(DirectoryList::MEDIA);
90-
$this->fullDirectoryPath = $this->imagesHelper->getStorageRoot() . DIRECTORY_SEPARATOR . $directoryName;
90+
$this->fullDirectoryPath = rtrim($this->imagesHelper->getStorageRoot(), '/')
91+
. DIRECTORY_SEPARATOR . $directoryName;
9192
$this->fullExcludedDirectoryPath = $this->imagesHelper->getStorageRoot()
9293
. DIRECTORY_SEPARATOR . $excludedDirName;
9394
$this->mediaDirectory->create($this->mediaDirectory->getRelativePath($this->fullDirectoryPath));

0 commit comments

Comments
 (0)