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 11<?php
22/**
3- * Copyright 2024 Adobe
3+ * Copyright 2025 Adobe
44 * All Rights Reserved.
55 */
66declare (strict_types=1 );
@@ -203,16 +203,13 @@ public function setUp(): void
203203
204204 public function testLoadProductCount () : void
205205 {
206- $ this ->select ->expects ($ this ->exactly (3 ))
206+ $ this ->select ->expects ($ this ->exactly (1 ))
207207 ->method ('from ' )
208208 ->willReturnSelf ();
209- $ this ->select ->expects ($ this ->exactly (3 ))
210- ->method ('where ' )
211- ->willReturnSelf ();
212209 $ this ->select ->expects ($ this ->exactly (1 ))
213- ->method ('group ' )
210+ ->method ('where ' )
214211 ->willReturnSelf ();
215- $ this ->connection ->expects ($ this ->exactly (2 ))
212+ $ this ->connection ->expects ($ this ->exactly (1 ))
216213 ->method ('fetchPairs ' )
217214 ->with ($ this ->select )
218215 ->willReturn ([]);
You can’t perform that action at this time.
0 commit comments