File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/Persistent/Test/Unit/Observer Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -131,14 +131,14 @@ public function testExecuteWhenSessionPersistAndCustomerNotLoggedIn()
131131 $ customerMock
132132 ->expects ($ this ->once ())
133133 ->method ('getDefaultShipping ' )
134- ->willReturn (' shippingId ' );
134+ ->willReturn (12345 );
135135 $ customerMock
136136 ->expects ($ this ->once ())
137137 ->method ('getDefaultBilling ' )
138- ->willReturn (' billingId ' );
138+ ->willReturn (12346 );
139139 $ valueMap = [
140- [' shippingId ' , $ defaultShippingAddressMock ],
141- [' billingId ' , $ defaultBillingAddressMock ]
140+ [12345 , $ defaultShippingAddressMock ],
141+ [12346 , $ defaultBillingAddressMock ]
142142 ];
143143 $ this ->addressRepositoryMock ->expects ($ this ->any ())->method ('getById ' )->willReturnMap ($ valueMap );
144144 $ this ->customerSessionMock
You can’t perform that action at this time.
0 commit comments