File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Customer/Test/Unit/Observer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ private function setOriginalCustomerToEventMock(MockObject $originalCustomer): v
171
171
172
172
private function setCustomerEmail (MockObject $ originalCustomer , string $ email ): void
173
173
{
174
- $ originalCustomer ->expects ($ this ->any ())
174
+ $ originalCustomer ->expects ($ this ->atLeastOnce ())
175
175
->method ('getEmail ' )
176
176
->willReturn ($ email );
177
177
}
@@ -186,7 +186,7 @@ private function whenOrderRepositoryGetListIsCalled(MockObject $orderCollectionM
186
186
->method ('create ' )
187
187
->willReturn ($ searchCriteriaMock );
188
188
189
- $ this ->searchCriteriaBuilderMock ->expects ($ this ->any ())
189
+ $ this ->searchCriteriaBuilderMock ->expects ($ this ->atLeastOnce ())
190
190
->method ('addFilter ' )
191
191
->willReturn ($ this ->searchCriteriaBuilderMock );
192
192
You can’t perform that action at this time.
0 commit comments