File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
app/code/Magento/Shipping Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,6 @@ public function requestToShipment(Shipment $orderShipment)
122
122
|| !$ storeInfo ->getName ()
123
123
|| !$ storeInfo ->getPhone ()
124
124
|| !$ originStreet1
125
- || !$ shipperRegionCode
126
125
|| !$ this ->_scopeConfig ->getValue (
127
126
Shipment::XML_PATH_STORE_CITY ,
128
127
ScopeInterface::SCOPE_STORE ,
Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Shipping \Test \Unit \Model \Shipping ;
7
7
8
- use Magento \Framework \TestFramework \Unit \Helper \ObjectManager ;
9
- use Magento \Framework \DataObject ;
8
+ use Magento \Framework \TestFramework \Unit \Helper \ObjectManager as ObjectManagerHelper ;
10
9
use Magento \Sales \Model \Order \Shipment ;
11
10
use Magento \Store \Model \ScopeInterface ;
12
11
@@ -69,8 +68,8 @@ protected function setUp()
69
68
->setMethods (['getValue ' ])
70
69
->getMock ();
71
70
72
- $ objectManagerHelper = new ObjectManager ($ this );
73
- $ this ->labels = $ objectManagerHelper ->getObject (
71
+ $ bjectManagerHelper = new ObjectManagerHelper ($ this );
72
+ $ this ->labels = $ bjectManagerHelper ->getObject (
74
73
\Magento \Shipping \Model \Shipping \Labels::class,
75
74
[
76
75
'shipmentRequestFactory ' => $ requestFactory ,
You can’t perform that action at this time.
0 commit comments