File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
dev/tests/integration/testsuite/Magento/Sales/Block/Order Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,19 @@ public function testGetOrderItems(): void
81
81
$ this ->assertCount (1 , $ this ->block ->getItems ());
82
82
}
83
83
84
+ /**
85
+ * @magentoDataFixture Magento/Sales/_files/order_configurable_product.php
86
+ *
87
+ * @return void
88
+ */
89
+ public function testGetOrderItemsConfigurable (): void
90
+ {
91
+ $ order = $ this ->orderFactory ->create ()->loadByIncrementId ('100000001 ' );
92
+ $ this ->registerOrder ($ order );
93
+ $ this ->block = $ this ->layout ->createBlock (Items::class);
94
+ $ this ->assertCount (1 , $ this ->block ->getItems ());
95
+ }
96
+
84
97
/**
85
98
* @magentoConfigFixture default/sales/orders/items_per_page 3
86
99
* @magentoDataFixture Magento/Sales/_files/order_item_list.php
You can’t perform that action at this time.
0 commit comments