Skip to content

Commit 84b1ea0

Browse files
fixed unit
1 parent 0e58811 commit 84b1ea0

File tree

1 file changed

+3
-0
lines changed
  • app/code/Magento/Sales/Test/Unit/Block/Adminhtml/Order/Totals

1 file changed

+3
-0
lines changed

app/code/Magento/Sales/Test/Unit/Block/Adminhtml/Order/Totals/TaxTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ public function testGetFullTaxInfoOrderWithoutTax(): void
129129
->method('loadByOrder')
130130
->with($orderMock)
131131
->willReturnSelf();
132+
$taxCollection->expects($this->once())
133+
->method('toArray')
134+
->willReturn(['items' => []]);
132135

133136
$taxOrder = $this->createMock(TaxModel::class);
134137
$taxOrder->expects($this->once())

0 commit comments

Comments
 (0)