Skip to content

Commit 715834d

Browse files
committed
B2B-2024: [AWS S3] [Integration Tests]: Investigate Test Failures in cms module
1 parent 21e4c0e commit 715834d

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ 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 = rtrim($this->imagesHelper->getStorageRoot(), '/')
91-
. DIRECTORY_SEPARATOR . $directoryName;
90+
$this->fullDirectoryPath = $this->imagesHelper->getStorageRoot() . DIRECTORY_SEPARATOR . $directoryName;
9291
$this->fullExcludedDirectoryPath = $this->imagesHelper->getStorageRoot()
9392
. DIRECTORY_SEPARATOR . $excludedDirName;
9493
$this->mediaDirectory->create($this->mediaDirectory->getRelativePath($this->fullDirectoryPath));

0 commit comments

Comments
 (0)