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 0ea2f68 commit de4f2c1Copy full SHA for de4f2c1
lib/internal/Magento/Framework/View/Test/Unit/Element/TemplateTest.php
@@ -196,7 +196,7 @@ public function testFetchViewWithNoFileNameDeveloperMode()
196
->method('getMode')
197
->willReturn(\Magento\Framework\App\State::MODE_DEVELOPER);
198
199
- $this->setExpectedException('\Magento\Framework\Exception\ValidatorException', $exception);
+ $this->setExpectedException(\Magento\Framework\Exception\ValidatorException::class, $exception);
200
$this->block->fetchView($template);
201
}
202
0 commit comments