File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Integration/Test/Unit/Block/Adminhtml/Integration/Edit/Tab
Tax/Test/Unit/Model/Sales/Total/Quote Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -72,5 +72,4 @@ public function testIsHidden(): void
7272 {
7373 $ this ->assertFalse ($ this ->infoBlock ->isHidden ());
7474 }
75-
7675}
Original file line number Diff line number Diff line change 2929use Magento \Tax \Api \Data \TaxDetailsInterface ;
3030use Magento \Tax \Api \Data \TaxDetailsItemInterface ;
3131use Magento \Tax \Api \TaxCalculationInterface ;
32+ use Magento \Framework \TestFramework \Unit \Helper \MockCreationTrait ;
3233use Magento \Tax \Helper \Data as TaxHelper ;
3334use \Magento \Quote \Model \Quote \Address \Total as QuoteAddressTotal ;
3435use Magento \Tax \Model \Config ;
4142 */
4243class CommonTaxCollectorTest extends TestCase
4344{
45+ use MockCreationTrait;
46+
4447 /** @var Config|MockObject */
4548 private $ taxConfig ;
4649
@@ -1126,7 +1129,7 @@ public function testProcessShippingTaxInfoUpdatesTotals(): void
11261129 public function testSaveAppliedTaxesAggregatesAmounts (): void
11271130 {
11281131 $ total = $ this ->createPartialMockWithReflection (
1129- QuoteAddressTotal::class,
1132+ QuoteAddressTotal::class,
11301133 ['getAppliedTaxes ' , 'setAppliedTaxes ' ]
11311134 );
11321135 $ total ->method ('getAppliedTaxes ' )->willReturn ([]);
You can’t perform that action at this time.
0 commit comments