Skip to content

Commit d18afdd

Browse files
committed
ACP2E-3647: [CLOUD]: GraphQl error Internal server error placeOrder mutation
1 parent 5865641 commit d18afdd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/SalesGraphQl/Test/Unit/Model/Resolver/OrderTotalTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ public function testResolve(): void
7979
$this->extensionAttributesMock->expects($this->once())
8080
->method('getAppliedTaxes')
8181
->willReturn([]);
82+
$this->extensionAttributesMock->expects($this->once())
83+
->method('getItemAppliedTaxes')
84+
->willReturn([]);
8285
$this->orderMock->method('getExtensionAttributes')->willReturn($this->extensionAttributesMock);
8386
$result = $this->orderTotal->resolve($fieldMock, $this->contextMock, $resolveInfoMock, $value, $args);
8487
$this->assertArrayHasKey('base_grand_total', $result);

0 commit comments

Comments
 (0)