File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dev/tests/integration/testsuite/Magento/Ups/Model Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public function testGetShipConfirmUrlLive()
67
67
* @magentoConfigFixture current_store carriers/ups/allowed_methods 1DA,GND
68
68
* @magentoConfigFixture current_store carriers/ups/free_method GND
69
69
*/
70
- public function testCollectRates ()
70
+ public function testCollectFreeRates ()
71
71
{
72
72
$ rateRequest = Bootstrap::getObjectManager ()->get (RateRequestFactory::class)->create ();
73
73
$ rateRequest ->setDestCountryId ('US ' );
@@ -77,7 +77,7 @@ public function testCollectRates()
77
77
$ rateRequest ->setPackageWeight (1 );
78
78
$ rateRequest ->setFreeMethodWeight (0 );
79
79
$ rateRequest ->setLimitCarrier ($ this ->carrier ::CODE );
80
-
80
+ $ rateRequest -> setFreeShipping ( true );
81
81
$ rateResult = $ this ->carrier ->collectRates ($ rateRequest );
82
82
$ result = $ rateResult ->asArray ();
83
83
$ methods = $ result [$ this ->carrier ::CODE ]['methods ' ];
You can’t perform that action at this time.
0 commit comments