File tree Expand file tree Collapse file tree 2 files changed +17
-8
lines changed
dev/tests/integration/testsuite/Magento/Sales/_files Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 3939$ payment ->setMethod ('checkmo ' );
4040$ customerIdFromFixture = 1 ;
4141
42- // simple product item
42+ /**
43+ * simple product
44+ */
4345$ simpleProductItem = $ objectManager ->create (\Magento \Sales \Model \Order \Item::class);
4446$ requestInfo = [
4547 'qty ' => 1
5557 ->setStoreId (0 )
5658 ->setProductOptions (['info_buyRequest ' => $ requestInfo ]);
5759
58- // configurable product
59-
60+ /**
61+ * configurable product
62+ */
6063/** @var \Magento\Eav\Model\Config $eavConfig */
6164$ eavConfig = $ objectManager ->get (\Magento \Eav \Model \Config::class);
6265/** @var $attribute \Magento\Catalog\Model\ResourceModel\Eav\Attribute */
9598 $ orderConfigurableItem ->setProductOptions (['info_buyRequest ' => $ requestInfo ]);
9699}
97100
98- // virtual product
101+ /**
102+ * virtual product
103+ */
99104$ virtualProductItem = $ objectManager ->create (\Magento \Sales \Model \Order \Item::class);
100105$ requestInfo = [
101106 'qty ' => 1
110115 ->setSku ($ virtualProduct ->getSku ())
111116 ->setStoreId (0 )
112117 ->setProductOptions (['info_buyRequest ' => $ requestInfo ]);
113-
114- // downloadable product
118+ /**
119+ * downloadable product
120+ */
115121/** @var $linkCollection \Magento\Downloadable\Model\ResourceModel\Link\Collection */
116122$ linkCollection = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ()->create (
117123 \Magento \Downloadable \Model \Link::class
142148 ->setStoreId ($ downloadableProduct ->getStoreId ())
143149 ->setProductOptions (['info_buyRequest ' => $ requestInfo ]);
144150
145- // bundle product
151+ /**
152+ * bundle product
153+ */
146154/** @var $typeInstance \Magento\Bundle\Model\Product\Type */
147155$ typeInstance = $ bundleProduct ->getTypeInstance ();
148156$ typeInstance ->setStoreFilter ($ bundleProduct ->getStoreId (), $ bundleProduct );
Original file line number Diff line number Diff line change 44 * See COPYING.txt for license details.
55 */
66
7- require 'default_rollback.php ' ;
87require __DIR__ . '/../../../Magento/Customer/_files/customer_rollback.php ' ;
8+ require __DIR__ . '/../../../Magento/Downloadable/_files/product_downloadable_rollback.php ' ;
9+ require 'default_rollback.php ' ;
You can’t perform that action at this time.
0 commit comments