Skip to content

Commit 1796692

Browse files
MAGETWO-95186: [2.3] Incorrect table rates shipping charge at check out with cart price rule
- Semantic version test fix.
1 parent c87130d commit 1796692

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/OfflineShippingSampleData/Model/Tablerate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function install(array $fixtures)
129129
'dest_country_id' => $data['country'],
130130
'dest_region_id' => $regionId,
131131
'dest_zip' => $data['zip'],
132-
'condition_name' => CarrierTablerate::CONDITION_CODE_PACKAGE_VALUE_WITH_DISCOUNT,
132+
'condition_name' => 'package_value_with_discount',
133133
'condition_value' => $data['order_subtotal'],
134134
'price' => $data['price'],
135135
'cost' => 0,
@@ -148,7 +148,7 @@ public function install(array $fixtures)
148148

149149
$this->configWriter->save('carriers/tablerate/active', 1);
150150
$this->configWriter->save(
151-
'carriers/tablerate/condition_name', CarrierTablerate::CONDITION_CODE_PACKAGE_VALUE_WITH_DISCOUNT
151+
'carriers/tablerate/condition_name', 'package_value_with_discount'
152152
);
153153
$this->cacheTypeList->cleanType('config');
154154
$this->systemConfig->clean();

0 commit comments

Comments
 (0)