Skip to content

Commit c29302f

Browse files
committed
MC-29929: cmsBlocks that has scope limited to specific Store View can be seen on other Store Views
- CR comments
1 parent c142b3e commit c29302f

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

dev/tests/integration/testsuite/Magento/Cms/_files/blocks_for_different_stores.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
/** @var StoreManagerInterface $stores */
1919
$stores = Bootstrap::getObjectManager()->get(StoreManagerInterface::class)->getStores();
2020
array_shift($stores);
21-
foreach ($stores as $store) {
22-
$store->getId();
23-
}
2421

2522
/** @var BlockInterface $block */
2623
$block = $blockFactory->create([

dev/tests/integration/testsuite/Magento/Store/_files/multiple_websites_with_store_groups_stores.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use Magento\TestFramework\Helper\Bootstrap;
99
use Magento\Store\Model\Website;
1010
use Magento\Store\Model\Store;
11-
use Magento\Framework\App\Config\ReinitableConfigInterface;
1211
use Magento\Store\Model\Group;
1312

1413
$objectManager = Bootstrap::getObjectManager();
@@ -56,7 +55,7 @@
5655
}
5756

5857
//Creating third website with a store and a storeview
59-
/** @var $website \Magento\Store\Model\Website */
58+
/** @var $website2 \Magento\Store\Model\Website */
6059
$website2 = $objectManager->create(Website::class);
6160
$website2->load('third', 'code');
6261

@@ -70,7 +69,7 @@
7069
}
7170

7271
/**
73-
* @var Group $storeGroup
72+
* @var Group $storeGroup2
7473
*/
7574
$storeGroup2 = $objectManager->create(Group::class);
7675
$storeGroup2->setCode('third_store')

0 commit comments

Comments
 (0)