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 1756192 commit cb0ed40Copy full SHA for cb0ed40
dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Product/View/CustomOptions.php
@@ -149,6 +149,7 @@ public function getOptions(FixtureInterface $product)
149
foreach ($dataOptions as $option) {
150
$title = $option['title'];
151
if (!isset($listCustomOptions[$title])) {
152
+ // phpcs:ignore Magento2.Exceptions.DirectThrow
153
throw new \Exception("Can't find option: \"{$title}\"");
154
}
155
0 commit comments