File tree 2 files changed +3
-2
lines changed
Model/Validator/Attribute
Test/Unit/Model/Validator/Attribute 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class Data extends \Magento\Framework\Validator\AbstractValidator
55
55
56
56
/**
57
57
* @param AttributeDataFactory $attrDataFactory
58
- * @param Config $eavConfig|null
58
+ * @param Config|null $eavConfig
59
59
* @param array $ignoredAttributesByTypesList
60
60
*/
61
61
public function __construct (
Original file line number Diff line number Diff line change @@ -225,7 +225,8 @@ public function testIsValidAttributesFromCollection(): void
225
225
->getMock ();
226
226
$ entityType ->expects ($ this ->atMost (2 ))->method ('getEntityTypeCode ' )->willReturn ($ entityTypeCode );
227
227
$ entityType ->expects ($ this ->once ())->method ('getAttributeCollection ' )->willReturn ($ collection );
228
- $ this ->eavConfigMock ->expects ($ this ->once ())->method ('getEntityType ' )->with ($ entityTypeCode )->willReturn ($ entityType );
228
+ $ this ->eavConfigMock ->expects ($ this ->once ())->method ('getEntityType ' )
229
+ ->with ($ entityTypeCode )->willReturn ($ entityType );
229
230
$ entity = $ this ->_getEntityMock ();
230
231
$ entity ->expects ($ this ->once ())->method ('getResource ' )->willReturn ($ resource );
231
232
$ entity ->expects ($ this ->once ())->method ('getEntityType ' )->willReturn ($ entityType );
You can’t perform that action at this time.
0 commit comments