File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ private function setShippingAssignments(OrderInterface $order)
173
173
$ extensionAttributes = $ order ->getExtensionAttributes ();
174
174
175
175
if ($ extensionAttributes === null ) {
176
- $ extensionAttributes = $ this ->getOrderExtensionDependencyFactory ()->create ();
176
+ $ extensionAttributes = $ this ->getOrderExtensionFactory ()->create ();
177
177
} elseif ($ extensionAttributes ->getShippingAssignments () !== null ) {
178
178
return ;
179
179
}
@@ -189,7 +189,7 @@ private function setShippingAssignments(OrderInterface $order)
189
189
* @return OrderExtension
190
190
* @deprecated
191
191
*/
192
- private function getOrderExtensionDependencyFactory ()
192
+ private function getOrderExtensionFactory ()
193
193
{
194
194
if (!$ this ->orderExtensionFactory instanceof OrderExtensionFactory) {
195
195
$ this ->orderExtensionFactory = \Magento \Framework \App \ObjectManager::getInstance ()->get (
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public function testGetList()
75
75
76
76
$ extensionAttributes = $ this ->getMock (
77
77
'\Magento\Sales\Api\Data\OrderExtension ' ,
78
- [],
78
+ [' getShippingAssignments ' ],
79
79
[],
80
80
'' ,
81
81
false
You can’t perform that action at this time.
0 commit comments