6 declare(strict_types=1);
22 require
__DIR__ .
'/../../Customer/_files/customer.php';
24 Bootstrap::getInstance()->loadArea(
'adminhtml');
34 $product->setTypeId(Type::TYPE_VIRTUAL)
35 ->setAttributeSetId(4)
37 ->setName(
'Virtual Product')
38 ->setSku(
'virtual-product-express')
41 ->setVisibility(Visibility::VISIBILITY_BOTH)
42 ->setStatus(Status::STATUS_ENABLED);
60 $quote->setCustomerIsGuest(
false)
63 ->setStoreId(
$objectManager->get(StoreManagerInterface::class)->getStore()->getId())
64 ->setReservedOrderId(
'test02')
71 $quote->getPayment()->setMethod(\
Magento\Paypal\Model\Config::METHOD_EXPRESS);
defined('TESTS_BP')||define('TESTS_BP' __DIR__