@@ -81,10 +81,13 @@ protected function setUp()
81
81
$ this ->scopeOverriddenValue
82
82
);
83
83
84
- $ this ->setProperties ($ this ->_model , [
85
- 'optionRepository ' => $ this ->optionRepositoryMock ,
86
- 'metadataPool ' => $ metadataPool ,
87
- ]);
84
+ $ this ->setProperties (
85
+ $ this ->_model ,
86
+ [
87
+ 'optionRepository ' => $ this ->optionRepositoryMock ,
88
+ 'metadataPool ' => $ metadataPool ,
89
+ ]
90
+ );
88
91
}
89
92
90
93
/**
@@ -112,10 +115,12 @@ public function testCopy()
112
115
];
113
116
$ this ->productMock ->expects ($ this ->atLeastOnce ())->method ('getWebsiteIds ' );
114
117
$ this ->productMock ->expects ($ this ->atLeastOnce ())->method ('getCategoryIds ' );
115
- $ this ->productMock ->expects ($ this ->any ())->method ('getData ' )->willReturnMap ([
116
- ['' , null , $ productData ],
117
- ['linkField ' , null , '1 ' ],
118
- ]);
118
+ $ this ->productMock ->expects ($ this ->any ())->method ('getData ' )->willReturnMap (
119
+ [
120
+ ['' , null , $ productData ],
121
+ ['linkField ' , null , '1 ' ],
122
+ ]
123
+ );
119
124
120
125
$ entityMock = $ this ->getMockForAbstractClass (
121
126
\Magento \Eav \Model \Entity \AbstractEntity::class,
@@ -200,9 +205,11 @@ public function testCopy()
200
205
201
206
$ this ->metadata ->expects ($ this ->any ())->method ('getLinkField ' )->willReturn ('linkField ' );
202
207
203
- $ duplicateMock ->expects ($ this ->any ())->method ('getData ' )->willReturnMap ([
204
- ['linkField ' , null , '2 ' ],
205
- ]);
208
+ $ duplicateMock ->expects ($ this ->any ())->method ('getData ' )->willReturnMap (
209
+ [
210
+ ['linkField ' , null , '2 ' ],
211
+ ]
212
+ );
206
213
$ this ->optionRepositoryMock ->expects ($ this ->once ())
207
214
->method ('duplicate ' )
208
215
->with ($ this ->productMock , $ duplicateMock );
0 commit comments