File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
dev/tests/integration/testsuite/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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 ));
You can’t perform that action at this time.
0 commit comments