File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
dev/tests/integration/testsuite/Magento/Tax/Model/Calculation Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 116
116
<item name =" zip_is_range" xsi : type =" string" >main_table.zip_is_range</item >
117
117
<item name =" zip_from" xsi : type =" string" >main_table.zip_from</item >
118
118
<item name =" zip_to" xsi : type =" string" >main_table.zip_to</item >
119
+ <item name =" region_name" xsi : type =" string" >region_table.code</item >
119
120
</argument >
120
121
</arguments >
121
122
</virtualType >
Original file line number Diff line number Diff line change @@ -557,7 +557,6 @@ public function testDeleteThrowsExceptionIfTargetTaxRateDoesNotExist()
557
557
}
558
558
559
559
/**
560
- *
561
560
* @param \Magento\Framework\Api\Filter[] $filters
562
561
* @param \Magento\Framework\Api\Filter[] $filterGroup
563
562
* @param $expectedRateCodes
@@ -629,7 +628,17 @@ public function searchTaxRatesDataProvider()
629
628
],
630
629
[],
631
630
['US - 42 - 7.5 ' , 'US - 12 - 7.5 ' ],
632
- ]
631
+ ],
632
+ 'like_region_name ' => [
633
+ [
634
+ $ filterBuilder ->setField (Rate::KEY_REGION_NAME )
635
+ ->setValue ('%NM% ' )
636
+ ->setConditionType ('like ' )
637
+ ->create (),
638
+ ],
639
+ null ,
640
+ ['US - 42 - 7.5 ' , 'US - 42 - 22 ' ],
641
+ ],
633
642
];
634
643
}
635
644
}
You can’t perform that action at this time.
0 commit comments