Skip to content

Commit ad8c1dc

Browse files
committed
ACP2E-3667: [Mainline ]Fedex International Priority unavailable.
1 parent f00c74e commit ad8c1dc

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

app/code/Magento/Fedex/Model/Carrier.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -717,9 +717,8 @@ public function getCode($type, $code = ''): \Magento\Framework\Phrase|array|fals
717717
'INTERNATIONAL_ECONOMY_FREIGHT' => __('Intl Economy Freight'),
718718
'INTERNATIONAL_FIRST' => __('International First'),
719719
'INTERNATIONAL_GROUND' => __('International Ground'),
720-
'INTERNATIONAL_PRIORITY' => __('International Priority'),
721-
'FEDEX_INTERNATIONAL_PRIORITY' => __('FedEx International Priority'),
722-
'FEDEX_INTERNATIONAL_PRIORITY_EXPRESS' => __('FedEx International Priority Express'),
720+
'FEDEX_INTERNATIONAL_PRIORITY' => __('International Priority'),
721+
'FEDEX_INTERNATIONAL_PRIORITY_EXPRESS' => __('International Priority Express'),
723722
'FEDEX_FIRST' => __('First'),
724723
'FEDEX_PRIORITY' => __('Priority'),
725724
'FEDEX_PRIORITY_EXPRESS' => __('Priority Express'),

app/code/Magento/Fedex/Test/Unit/Model/CarrierTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ public function testGetCodeWithValidTypeNoCode(): void
10131013
$this->assertIsArray($result, 'Should return array of all method codes');
10141014
$this->assertArrayHasKey('FEDEX_INTERNATIONAL_PRIORITY', $result);
10151015
$this->assertArrayHasKey('FEDEX_INTERNATIONAL_PRIORITY_EXPRESS', $result);
1016-
$this->assertEquals(__('FedEx International Priority'), $result['FEDEX_INTERNATIONAL_PRIORITY']);
1016+
$this->assertEquals(__('International Priority'), $result['FEDEX_INTERNATIONAL_PRIORITY']);
10171017
}
10181018

10191019
/**
@@ -1027,7 +1027,7 @@ public function testGetCodeWithValidTypeAndCode(): void
10271027
$result,
10281028
'Should return Phrase object for valid method code'
10291029
);
1030-
$this->assertEquals('FedEx International Priority', $result->getText());
1030+
$this->assertEquals('International Priority', $result->getText());
10311031
}
10321032

10331033
/**

0 commit comments

Comments
 (0)