Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
quote_with_items_and_custom_options_saved_rollback.php
Go to the documentation of this file.
1 <?php
7 $objectManager->removeSharedInstance(\Magento\Catalog\Model\Product\Option\Type\File\ValidatorFile::class);
8 
10 $quote = $objectManager->create(\Magento\Quote\Model\Quote::class);
11 $quote->load('test_order_item_with_items_and_custom_options', 'reserved_order_id');
12 $quoteId = $quote->getId();
13 if ($quote->getId()) {
14  $objectManager->get(\Magento\Quote\Model\QuoteRepository::class)->delete($quote);
15 }
16 
17 require __DIR__ . '/../../Checkout/_files/quote_with_address_rollback.php';
defined('TESTS_BP')||define('TESTS_BP' __DIR__
Definition: _bootstrap.php:60