File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
app/code/Magento/Shipping/Model/Carrier
dev/tests/integration/testsuite/Magento/Ups/Model Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -451,6 +451,8 @@ protected function _updateFreeMethodQuote($request)
451
451
}
452
452
}
453
453
}
454
+ } else {
455
+ $ price = 0 ;
454
456
}
455
457
456
458
/**
Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Ups \Model ;
7
7
8
+ use Magento \TestFramework \Helper \Bootstrap ;
9
+ use Magento \Quote \Model \Quote \Address \RateRequestFactory ;
10
+
8
11
class CarrierTest extends \PHPUnit \Framework \TestCase
9
12
{
10
13
/**
@@ -14,7 +17,7 @@ class CarrierTest extends \PHPUnit\Framework\TestCase
14
17
15
18
protected function setUp ()
16
19
{
17
- $ this ->carrier = \ Magento \ TestFramework \ Helper \ Bootstrap::getObjectManager ()->create (
20
+ $ this ->carrier = Bootstrap::getObjectManager ()->create (
18
21
\Magento \Ups \Model \Carrier::class
19
22
);
20
23
}
You can’t perform that action at this time.
0 commit comments