We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f02e91 commit 7fa8c4fCopy full SHA for 7fa8c4f
app/code/Magento/Tax/Test/Unit/Pricing/Render/AdjustmentTest.php
@@ -372,7 +372,7 @@ public function testGetDataPriceType(): void
372
$this->assertEquals('basePrice', $this->model->getDataPriceType());
373
$amountRender->expects($this->atLeastOnce())
374
->method('getPriceType')
375
- ->willReturn('anythingElse');
+ ->willReturn(null);
376
$this->model->render($amountRender, []);
377
//no exception thrown
378
$this->assertIsString($this->model->getDataPriceType());
0 commit comments