@@ -81,10 +81,13 @@ protected function setUp()
8181 $ this ->scopeOverriddenValue
8282 );
8383
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+ );
8891 }
8992
9093 /**
@@ -112,10 +115,12 @@ public function testCopy()
112115 ];
113116 $ this ->productMock ->expects ($ this ->atLeastOnce ())->method ('getWebsiteIds ' );
114117 $ 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+ );
119124
120125 $ entityMock = $ this ->getMockForAbstractClass (
121126 \Magento \Eav \Model \Entity \AbstractEntity::class,
@@ -200,9 +205,11 @@ public function testCopy()
200205
201206 $ this ->metadata ->expects ($ this ->any ())->method ('getLinkField ' )->willReturn ('linkField ' );
202207
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+ );
206213 $ this ->optionRepositoryMock ->expects ($ this ->once ())
207214 ->method ('duplicate ' )
208215 ->with ($ this ->productMock , $ duplicateMock );
0 commit comments