From 8ef687d3bccd1da7899aaf289abd08be10baa624 Mon Sep 17 00:00:00 2001
From: Maxim Medinskiy <mmedinskiy@magento.com>
Date: Fri, 1 Apr 2016 19:47:36 +0300
Subject: [PATCH] MAGETWO-49939: Merchant can't assign CMS Page to few
 storeviews

---
 .../Cms/Test/Unit/Model/ResourceModel/Block/CollectionTest.php | 3 ---
 .../Cms/Test/Unit/Model/ResourceModel/Page/CollectionTest.php  | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/app/code/Magento/Cms/Test/Unit/Model/ResourceModel/Block/CollectionTest.php b/app/code/Magento/Cms/Test/Unit/Model/ResourceModel/Block/CollectionTest.php
index 12d61e39ce3..fd62f62a721 100644
--- a/app/code/Magento/Cms/Test/Unit/Model/ResourceModel/Block/CollectionTest.php
+++ b/app/code/Magento/Cms/Test/Unit/Model/ResourceModel/Block/CollectionTest.php
@@ -124,14 +124,11 @@ class CollectionTest extends AbstractCollectionTest
                 new \Magento\Framework\DataObject(['id' => 1, 'row_id' => 1]),
                 [
                     ['row_id' => 1, 'store_id' => \Magento\Store\Model\Store::DEFAULT_STORE_ID],
-                    ['row_id' => 2, 'store_id' => 1],
-                    ['row_id' => 2, 'store_id' => 2],
                 ],
             ],
             [
                 new \Magento\Framework\DataObject(['id' => 2, 'row_id' => 2]),
                 [
-                    ['row_id' => 1, 'store_id' => \Magento\Store\Model\Store::DEFAULT_STORE_ID],
                     ['row_id' => 2, 'store_id' => 1],
                     ['row_id' => 2, 'store_id' => 2],
                 ],
diff --git a/app/code/Magento/Cms/Test/Unit/Model/ResourceModel/Page/CollectionTest.php b/app/code/Magento/Cms/Test/Unit/Model/ResourceModel/Page/CollectionTest.php
index a5fc16cf474..916e1f96c84 100644
--- a/app/code/Magento/Cms/Test/Unit/Model/ResourceModel/Page/CollectionTest.php
+++ b/app/code/Magento/Cms/Test/Unit/Model/ResourceModel/Page/CollectionTest.php
@@ -124,14 +124,11 @@ class CollectionTest extends AbstractCollectionTest
                 new \Magento\Framework\DataObject(['id' => 1, 'row_id' => 1]),
                 [
                     ['row_id' => 1, 'store_id' => \Magento\Store\Model\Store::DEFAULT_STORE_ID],
-                    ['row_id' => 2, 'store_id' => 1],
-                    ['row_id' => 2, 'store_id' => 2],
                 ],
             ],
             [
                 new \Magento\Framework\DataObject(['id' => 2, 'row_id' => 2]),
                 [
-                    ['row_id' => 1, 'store_id' => \Magento\Store\Model\Store::DEFAULT_STORE_ID],
                     ['row_id' => 2, 'store_id' => 1],
                     ['row_id' => 2, 'store_id' => 2],
                 ],
-- 
GitLab