Skip to content

Commit f999b26

Browse files
MC-31733: Media gallery breaks in some filesystems
1 parent 774d89b commit f999b26

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/code/Magento/Theme/Test/Unit/Model/Wysiwyg/StorageTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,10 +588,13 @@ public function testDeleteRootDirectory()
588588

589589
/**
590590
* cover \Magento\Theme\Model\Wysiwyg\Storage::deleteDirectory
591-
* @expectedException \Magento\Framework\Exception\LocalizedException
592591
*/
593592
public function testDeleteRootDirectoryRelative()
594593
{
594+
$this->expectException(
595+
\Magento\Framework\Exception\LocalizedException::class
596+
);
597+
595598
$directoryPath = $this->_storageRoot;
596599
$fakePath = 'fake/relative/path';
597600

0 commit comments

Comments
 (0)