We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 774d89b commit f999b26Copy full SHA for f999b26
app/code/Magento/Theme/Test/Unit/Model/Wysiwyg/StorageTest.php
@@ -588,10 +588,13 @@ public function testDeleteRootDirectory()
588
589
/**
590
* cover \Magento\Theme\Model\Wysiwyg\Storage::deleteDirectory
591
- * @expectedException \Magento\Framework\Exception\LocalizedException
592
*/
593
public function testDeleteRootDirectoryRelative()
594
{
+ $this->expectException(
595
+ \Magento\Framework\Exception\LocalizedException::class
596
+ );
597
+
598
$directoryPath = $this->_storageRoot;
599
$fakePath = 'fake/relative/path';
600
0 commit comments