Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/MC-39765' into 2.4-develop-pr115
Browse files Browse the repository at this point in the history
  • Loading branch information
zakdma committed Dec 18, 2020
2 parents 1020714 + 59b4469 commit 7c07984
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,14 @@ public function testExecuteWhenSessionPersistAndCustomerNotLoggedIn()
$customerMock
->expects($this->once())
->method('getDefaultShipping')
->willReturn('shippingId');
->willReturn(12345);
$customerMock
->expects($this->once())
->method('getDefaultBilling')
->willReturn('billingId');
->willReturn(12346);
$valueMap = [
['shippingId', $defaultShippingAddressMock],
['billingId', $defaultBillingAddressMock]
[12345, $defaultShippingAddressMock],
[12346, $defaultBillingAddressMock]
];
$this->addressRepositoryMock->expects($this->any())->method('getById')->willReturnMap($valueMap);
$this->customerSessionMock
Expand Down

0 comments on commit 7c07984

Please sign in to comment.