Skip to content

Commit 711daab

Browse files
committed
ACP2E-2151: GraphQL GetCategories query works slowly and generates 1K SQL queries
1 parent 624be75 commit 711daab

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

app/code/Magento/CatalogCustomerGraphQl/Test/Unit/Model/Resolver/PriceTiersTest.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\CatalogCustomerGraphQl\Test\Unit\Model\Resolver;;
8+
namespace Magento\CatalogCustomerGraphQl\Test\Unit\Model\Resolver;
99

1010
use Magento\CatalogCustomerGraphQl\Model\Resolver\Customer\GetCustomerGroup;
1111
use Magento\CatalogCustomerGraphQl\Model\Resolver\PriceTiers;
@@ -41,6 +41,16 @@ class PriceTiersTest extends TestCase
4141
*/
4242
private $contextMock;
4343

44+
/**
45+
* @var TiersFactory|MockObject
46+
*/
47+
private $tiersFactory;
48+
49+
/**
50+
* @var PriceTiers
51+
*/
52+
private $priceTiers;
53+
4454
protected function setUp(): void
4555
{
4656
$valueFactory = $this->createMock(ValueFactory::class);

0 commit comments

Comments
 (0)