Skip to content

Commit

Permalink
MC-39765: No such entity with addressId, occurs randomly on visitors …
Browse files Browse the repository at this point in the history
…browser. System Log Generated
  • Loading branch information
zakdma committed Dec 18, 2020
1 parent c78afee commit 59b4469
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 59b4469

Please sign in to comment.