Skip to content

Commit 2a1fe6d

Browse files
committed
AC-2765::Page Builder Error When Add Product List With Admin User Scope Limitation
1 parent 1e298b0 commit 2a1fe6d

File tree

1 file changed

+12
-14
lines changed
  • dev/tests/integration/testsuite/Magento/Review/Model/ResourceModel/Review/Summary

1 file changed

+12
-14
lines changed

dev/tests/integration/testsuite/Magento/Review/Model/ResourceModel/Review/Summary/CollectionTest.php

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
use PHPUnit\Framework\MockObject\MockObject;
2020
use Psr\Log\LoggerInterface;
2121

22-
2322
/**
2423
* Tests some functionality of the Review Summary collection
2524
*/
@@ -31,34 +30,34 @@ class CollectionTest extends \PHPUnit\Framework\TestCase
3130
protected Collection $collection;
3231

3332
/**
34-
* @var Query|MockObject
33+
* @var Query
3534
*/
36-
protected Query|MockObject $fetchStrategyMock;
35+
protected Query $fetchStrategyMock;
3736

3837
/**
39-
* @var EntityFactory|MockObject
38+
* @var EntityFactory
4039
*/
41-
protected EntityFactory|MockObject $entityFactoryMock;
40+
protected EntityFactory $entityFactoryMock;
4241

4342
/**
44-
* @var LoggerInterface|MockObject
43+
* @var LoggerInterface
4544
*/
46-
protected LoggerInterface|MockObject $loggerMock;
45+
protected LoggerInterface $loggerMock;
4746

4847
/**
49-
* @var AbstractDb|MockObject
48+
* @var AbstractDb
5049
*/
51-
protected MockObject|AbstractDb $resourceMock;
50+
protected AbstractDb $resourceMock;
5251

5352
/**
54-
* @var AdapterInterface|MockObject
53+
* @var AdapterInterface
5554
*/
56-
protected MockObject|Mysql|AdapterInterface $connectionMock;
55+
protected AdapterInterface $connectionMock;
5756

5857
/**
59-
* @var Select|MockObject
58+
* @var Select
6059
*/
61-
protected Select|MockObject $selectMock;
60+
protected Select $selectMock;
6261

6362
protected function setUp(): void
6463
{
@@ -120,7 +119,6 @@ public function testAddStoreFilter(array|int $storeId, string $expectedQuery)
120119
{
121120
$this->selectMock->expects($this->once())->method('where')->with($expectedQuery, $storeId);
122121
$this->collection->addStoreFilter($storeId);
123-
124122
}
125123

126124
/**

0 commit comments

Comments
 (0)