9 require
__DIR__ .
'/../../Checkout/_files/quote_with_address.php';
10 require
__DIR__ .
'/../../Catalog/_files/product_with_options.php';
11 require
__DIR__ .
'/../../Checkout/_files/ValidatorFileMock.php';
21 switch (
$option->getGroupByType()) {
22 case \Magento\Catalog\Api\Data\ProductCustomOptionInterface::OPTION_GROUP_DATE:
23 $value = [
'year' => 2013,
'month' => 8,
'day' => 9,
'hour' => 13,
'minute' => 35];
25 case \Magento\Catalog\Api\Data\ProductCustomOptionInterface::OPTION_GROUP_SELECT:
28 case \Magento\Catalog\Api\Data\ProductCustomOptionInterface::OPTION_GROUP_FILE:
43 $quote->setReservedOrderId(
'test_order_item_with_items_and_custom_options');
50 ->create(\
Magento\Quote\Model\QuoteIdMaskFactory::class)
defined('TESTS_BP')||define('TESTS_BP' __DIR__
foreach($product->getOptions() as $option) $requestInfo
static getObjectManager()