Skip to content

Commit cb0ed40

Browse files
MAGETWO-58226: Calendar Custom Options are displayed broken on Storefront if JS validation is performed
- Fix static
1 parent 1756192 commit cb0ed40

File tree

1 file changed

+1
-0
lines changed
  • dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Product/View

1 file changed

+1
-0
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Product/View/CustomOptions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ public function getOptions(FixtureInterface $product)
149149
foreach ($dataOptions as $option) {
150150
$title = $option['title'];
151151
if (!isset($listCustomOptions[$title])) {
152+
// phpcs:ignore Magento2.Exceptions.DirectThrow
152153
throw new \Exception("Can't find option: \"{$title}\"");
153154
}
154155

0 commit comments

Comments
 (0)