@@ -52,7 +52,7 @@ class GetAssetsByPathsTest extends TestCase
52
52
/**
53
53
* @var \Zend_Db_Statement_Interface|MockObject
54
54
*/
55
- private $ statement ;
55
+ private $ statement ;
56
56
57
57
protected function setUp (): void
58
58
{
@@ -70,7 +70,6 @@ protected function setUp(): void
70
70
$ this ->select = $ this ->createMock (Select::class);
71
71
$ this ->statement = $ this ->createMock (\Zend_Db_Statement_Interface::class);
72
72
73
-
74
73
$ resourceConnection ->expects ($ this ->any ())
75
74
->method ('getConnection ' )
76
75
->willReturn ($ this ->adapter );
@@ -85,12 +84,11 @@ protected function setUp(): void
85
84
*
86
85
* @dataProvider assetDeleteByPathDataProvider
87
86
*/
88
- public function testGetCorrectAssetByPathWithCaseSensitiveMatches (
87
+ public function testGetCorrectAssetByPathWithCaseSensitiveMatches (
89
88
array $ assets ,
90
89
int $ assetIndex ,
91
90
int $ resultsCount
92
- ): void
93
- {
91
+ ): void {
94
92
$ this ->adapter ->expects ($ this ->once ())->method ('select ' )->willReturn ($ this ->select );
95
93
$ this ->select ->expects ($ this ->once ())->method ('from ' )->willReturnSelf ();
96
94
$ this ->select ->expects ($ this ->once ())->method ('where ' )->willReturnSelf ();
@@ -133,7 +131,7 @@ private function getAssets(): array
133
131
'id ' => '1 ' ,
134
132
'path ' => 'catalog/category/folder/image.jpg ' ,
135
133
'title ' => 'image ' ,
136
- 'description ' => NULL ,
134
+ 'description ' => null ,
137
135
'source ' => 'Local ' ,
138
136
'hash ' => '20b88741b3cfa5749d414a0312c8b909aefbaa1f ' ,
139
137
'content_type ' => 'image/jpg ' ,
@@ -147,7 +145,7 @@ private function getAssets(): array
147
145
'id ' => '2 ' ,
148
146
'path ' => 'catalog/category/folder/Image.jpg ' ,
149
147
'title ' => 'Image ' ,
150
- 'description ' => NULL ,
148
+ 'description ' => null ,
151
149
'source ' => 'Local ' ,
152
150
'hash ' => '20b88741b3cfa5749d414a0312c8b909aefbaa1f ' ,
153
151
'content_type ' => 'image/jpg ' ,
@@ -161,7 +159,7 @@ private function getAssets(): array
161
159
'id ' => '3 ' ,
162
160
'path ' => 'catalog/category/folder/IMAGE.JPG ' ,
163
161
'title ' => 'IMAGE ' ,
164
- 'description ' => NULL ,
162
+ 'description ' => null ,
165
163
'source ' => 'Local ' ,
166
164
'hash ' => '93a7c1f07373afafcd4918379dacf8e3de6a3eca ' ,
167
165
'content_type ' => 'image/jpg ' ,
@@ -175,7 +173,7 @@ private function getAssets(): array
175
173
'id ' => '4 ' ,
176
174
'path ' => 'catalog/category/FOLDER/IMAGE.JPG ' ,
177
175
'title ' => 'IMAGE ' ,
178
- 'description ' => NULL ,
176
+ 'description ' => null ,
179
177
'source ' => 'Local ' ,
180
178
'hash ' => '93a7c1f07373afafcd4918379dacf8e3de6a3eca ' ,
181
179
'content_type ' => 'image/jpg ' ,
0 commit comments