We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1020714 + 59b4469 commit 7c07984Copy full SHA for 7c07984
app/code/Magento/Persistent/Test/Unit/Observer/EmulateCustomerObserverTest.php
@@ -131,14 +131,14 @@ public function testExecuteWhenSessionPersistAndCustomerNotLoggedIn()
131
$customerMock
132
->expects($this->once())
133
->method('getDefaultShipping')
134
- ->willReturn('shippingId');
+ ->willReturn(12345);
135
136
137
->method('getDefaultBilling')
138
- ->willReturn('billingId');
+ ->willReturn(12346);
139
$valueMap = [
140
- ['shippingId', $defaultShippingAddressMock],
141
- ['billingId', $defaultBillingAddressMock]
+ [12345, $defaultShippingAddressMock],
+ [12346, $defaultBillingAddressMock]
142
];
143
$this->addressRepositoryMock->expects($this->any())->method('getById')->willReturnMap($valueMap);
144
$this->customerSessionMock
0 commit comments