Skip to content

Commit ebf2112

Browse files
committed
AC-15103: Tax related Test Cases
1 parent f3e39ea commit ebf2112

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/code/Magento/Integration/Test/Unit/Block/Adminhtml/Integration/Edit/Tab/InfoTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,4 @@ public function testIsHidden(): void
7272
{
7373
$this->assertFalse($this->infoBlock->isHidden());
7474
}
75-
7675
}

app/code/Magento/Tax/Test/Unit/Model/Sales/Total/Quote/CommonTaxCollectorTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
use Magento\Tax\Api\Data\TaxDetailsInterface;
3030
use Magento\Tax\Api\Data\TaxDetailsItemInterface;
3131
use Magento\Tax\Api\TaxCalculationInterface;
32+
use Magento\Framework\TestFramework\Unit\Helper\MockCreationTrait;
3233
use Magento\Tax\Helper\Data as TaxHelper;
3334
use \Magento\Quote\Model\Quote\Address\Total as QuoteAddressTotal;
3435
use Magento\Tax\Model\Config;
@@ -41,6 +42,8 @@
4142
*/
4243
class 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([]);

0 commit comments

Comments
 (0)