Skip to content

Commit 94442dc

Browse files
committed
Update test called twice
1 parent 495e4e6 commit 94442dc

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/GoogleGtag/Test/Unit/Block

1 file changed

+1
-1
lines changed

app/code/Magento/GoogleGtag/Test/Unit/Block/GaTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ protected function createOrderMock($orderItemCount = 1)
223223
$orderMock->expects($this->once())->method('getGrandTotal')->willReturn(10);
224224
$orderMock->expects($this->once())->method('getTaxAmount')->willReturn(2);
225225
$orderMock->expects($this->once())->method('getShippingAmount')->willReturn($orderItemCount);
226-
$orderMock->expects($this->once())->method('getOrderCurrencyCode')->willReturn('USD');
226+
$orderMock->expects($this->exactly(2))->method('getOrderCurrencyCode')->willReturn('USD');
227227
return $orderMock;
228228
}
229229

0 commit comments

Comments
 (0)