Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
order_with_customer_and_multiple_order_items.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
8 include __DIR__ . '/order_with_multiple_items.php';
9 include __DIR__ . '/../../../Magento/Customer/_files/customer.php';
10 
13 $order->setCustomerId($customerIdFromFixture)->setCustomerIsGuest(false)->save();
defined('TESTS_BP')||define('TESTS_BP' __DIR__
Definition: _bootstrap.php:60
$order
Definition: order.php:55