@@ -121,7 +121,7 @@ class Create extends Block
121
121
public function getItemsBlock ()
122
122
{
123
123
return $ this ->blockFactory ->create (
124
- ' Magento\Sales\Test\Block\Adminhtml\Order\Create\Items ' ,
124
+ \ Magento \Sales \Test \Block \Adminhtml \Order \Create \Items::class ,
125
125
['element ' => $ this ->_rootElement ->find ($ this ->itemsBlock , Locator::SELECTOR_CSS )]
126
126
);
127
127
}
@@ -134,7 +134,7 @@ public function getItemsBlock()
134
134
public function getBillingAddressBlock ()
135
135
{
136
136
return $ this ->blockFactory ->create (
137
- ' Magento\Sales\Test\Block\Adminhtml\Order\Create\Billing\Address ' ,
137
+ \ Magento \Sales \Test \Block \Adminhtml \Order \Create \Billing \Address::class ,
138
138
['element ' => $ this ->_rootElement ->find ($ this ->billingAddressBlock , Locator::SELECTOR_CSS )]
139
139
);
140
140
}
@@ -147,7 +147,7 @@ public function getBillingAddressBlock()
147
147
protected function getShippingAddressBlock ()
148
148
{
149
149
return $ this ->blockFactory ->create (
150
- ' Magento\Sales\Test\Block\Adminhtml\Order\Create\Shipping\Address ' ,
150
+ \ Magento \Sales \Test \Block \Adminhtml \Order \Create \Shipping \Address::class ,
151
151
['element ' => $ this ->_rootElement ->find ($ this ->shippingAddressBlock , Locator::SELECTOR_CSS )]
152
152
);
153
153
}
@@ -160,7 +160,7 @@ protected function getShippingAddressBlock()
160
160
protected function getBillingMethodBlock ()
161
161
{
162
162
return $ this ->blockFactory ->create (
163
- ' Magento\Sales\Test\Block\Adminhtml\Order\Create\Billing\Method ' ,
163
+ \ Magento \Sales \Test \Block \Adminhtml \Order \Create \Billing \Method::class ,
164
164
['element ' => $ this ->_rootElement ->find ($ this ->billingMethodBlock , Locator::SELECTOR_CSS )]
165
165
);
166
166
}
@@ -173,7 +173,7 @@ protected function getBillingMethodBlock()
173
173
protected function getShippingMethodBlock ()
174
174
{
175
175
return $ this ->blockFactory ->create (
176
- ' Magento\Sales\Test\Block\Adminhtml\Order\Create\Shipping\Method ' ,
176
+ \ Magento \Sales \Test \Block \Adminhtml \Order \Create \Shipping \Method::class ,
177
177
['element ' => $ this ->_rootElement ->find ($ this ->shippingMethodBlock , Locator::SELECTOR_CSS )]
178
178
);
179
179
}
@@ -183,10 +183,10 @@ protected function getShippingMethodBlock()
183
183
*
184
184
* @return \Magento\Sales\Test\Block\Adminhtml\Order\Create\Totals
185
185
*/
186
- protected function getTotalsBlock ()
186
+ public function getTotalsBlock ()
187
187
{
188
188
return $ this ->blockFactory ->create (
189
- ' Magento\Sales\Test\Block\Adminhtml\Order\Create\Totals ' ,
189
+ \ Magento \Sales \Test \Block \Adminhtml \Order \Create \Totals::class ,
190
190
['element ' => $ this ->_rootElement ->find ($ this ->totalsBlock , Locator::SELECTOR_CSS )]
191
191
);
192
192
}
@@ -199,7 +199,7 @@ protected function getTotalsBlock()
199
199
public function getTemplateBlock ()
200
200
{
201
201
return $ this ->blockFactory ->create (
202
- ' Magento\Backend\Test\Block\Template ' ,
202
+ \ Magento \Backend \Test \Block \Template::class ,
203
203
['element ' => $ this ->_rootElement ->find ($ this ->templateBlock , Locator::SELECTOR_XPATH )]
204
204
);
205
205
}
@@ -212,7 +212,7 @@ public function getTemplateBlock()
212
212
public function getGridBlock ()
213
213
{
214
214
return $ this ->blockFactory ->create (
215
- ' Magento\Sales\Test\Block\Adminhtml\Order\Create\Search\Grid ' ,
215
+ \ Magento \Sales \Test \Block \Adminhtml \Order \Create \Search \Grid::class ,
216
216
['element ' => $ this ->_rootElement ->find ($ this ->gridBlock , Locator::SELECTOR_CSS )]
217
217
);
218
218
}
@@ -225,7 +225,7 @@ public function getGridBlock()
225
225
public function getAccountBlock ()
226
226
{
227
227
return $ this ->blockFactory ->create (
228
- ' Magento\Sales\Test\Block\Adminhtml\Order\Create\Form\Account ' ,
228
+ \ Magento \Sales \Test \Block \Adminhtml \Order \Create \Form \Account::class ,
229
229
['element ' => $ this ->_rootElement ->find ($ this ->accountInformationBlock , Locator::SELECTOR_CSS )]
230
230
);
231
231
}
@@ -250,7 +250,7 @@ public function updateProductsData(array $products)
250
250
{
251
251
/** @var \Magento\Sales\Test\Block\Adminhtml\Order\Create\Items $items */
252
252
$ items = $ this ->blockFactory ->create (
253
- ' Magento\Sales\Test\Block\Adminhtml\Order\Create\Items ' ,
253
+ \ Magento \Sales \Test \Block \Adminhtml \Order \Create \Items::class ,
254
254
['element ' => $ this ->_rootElement ->find ($ this ->itemsBlock )]
255
255
);
256
256
foreach ($ products as $ product ) {
0 commit comments