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()
131
131
$ customerMock
132
132
->expects ($ this ->once ())
133
133
->method ('getDefaultShipping ' )
134
- ->willReturn (' shippingId ' );
134
+ ->willReturn (12345 );
135
135
$ customerMock
136
136
->expects ($ this ->once ())
137
137
->method ('getDefaultBilling ' )
138
- ->willReturn (' billingId ' );
138
+ ->willReturn (12346 );
139
139
$ valueMap = [
140
- [' shippingId ' , $ defaultShippingAddressMock ],
141
- [' billingId ' , $ defaultBillingAddressMock ]
140
+ [12345 , $ defaultShippingAddressMock ],
141
+ [12346 , $ defaultBillingAddressMock ]
142
142
];
143
143
$ this ->addressRepositoryMock ->expects ($ this ->any ())->method ('getById ' )->willReturnMap ($ valueMap );
144
144
$ this ->customerSessionMock
You can’t perform that action at this time.
0 commit comments