File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
app/code/Magento/Customer/Test/Unit/Model/Address Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -343,10 +343,11 @@ protected function getAttributeMock(array $options = []): array
343
343
$ attributeCode .= $ options [self ::ATTRIBUTE_CODE ]['specific_code_prefix ' ];
344
344
}
345
345
346
- $ attributeMock ->expects ($ this ->atLeast ( 2 ))
346
+ $ attributeMock ->expects ($ this ->exactly ( 3 ))
347
347
->method ('getAttributeCode ' )
348
348
->willReturn ($ attributeCode );
349
349
350
+
350
351
$ attributeBooleanMock = $ this ->getMockBuilder (AbstractAttribute::class)
351
352
->onlyMethods (
352
353
[
@@ -367,7 +368,7 @@ protected function getAttributeMock(array $options = []): array
367
368
$ booleanAttributeCode .= $ options ['test-code-boolean ' ]['specific_code_prefix ' ];
368
369
}
369
370
370
- $ attributeBooleanMock ->expects ($ this ->atleast ( 2 ))
371
+ $ attributeBooleanMock ->expects ($ this ->exactly ( 3 ))
371
372
->method ('getAttributeCode ' )
372
373
->willReturn ($ booleanAttributeCode );
373
374
You can’t perform that action at this time.
0 commit comments