File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
app/code/Magento/Catalog/Test/Unit/Model/ResourceModel/Category Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright 2024 Adobe
3
+ * Copyright 2025 Adobe
4
4
* All Rights Reserved.
5
5
*/
6
6
declare (strict_types=1 );
@@ -203,16 +203,13 @@ public function setUp(): void
203
203
204
204
public function testLoadProductCount () : void
205
205
{
206
- $ this ->select ->expects ($ this ->exactly (3 ))
206
+ $ this ->select ->expects ($ this ->exactly (1 ))
207
207
->method ('from ' )
208
208
->willReturnSelf ();
209
- $ this ->select ->expects ($ this ->exactly (3 ))
210
- ->method ('where ' )
211
- ->willReturnSelf ();
212
209
$ this ->select ->expects ($ this ->exactly (1 ))
213
- ->method ('group ' )
210
+ ->method ('where ' )
214
211
->willReturnSelf ();
215
- $ this ->connection ->expects ($ this ->exactly (2 ))
212
+ $ this ->connection ->expects ($ this ->exactly (1 ))
216
213
->method ('fetchPairs ' )
217
214
->with ($ this ->select )
218
215
->willReturn ([]);
You can’t perform that action at this time.
0 commit comments