Skip to content

Commit

Permalink
MAGETWO-56863: [GitHub] Saving CMS page does not create URL rewrite i…
Browse files Browse the repository at this point in the history
…n Magento 2.1.0 with single-store mode #5923
  • Loading branch information
le0n4eg committed Nov 4, 2016
1 parent a4b0189 commit 623d29d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,27 @@ class CmsPageUrlRewriteGeneratorTest extends \PHPUnit_Framework_TestCase
/**
* @var \Magento\Framework\TestFramework\Unit\Helper\ObjectManager
*/
protected $objectManager;
private $objectManager;

/**
* @var \Magento\Store\Model\StoreManagerInterface|\PHPUnit_Framework_MockObject_MockObject
*/
protected $storeManager;
private $storeManager;

/**
* @var \Magento\UrlRewrite\Service\V1\Data\UrlRewriteFactory|\PHPUnit_Framework_MockObject_MockObject
*/
protected $urlRewriteFactory;
private $urlRewriteFactory;

/**
* @var \Magento\CmsUrlRewrite\Model\CmsPageUrlPathGenerator|\PHPUnit_Framework_MockObject_MockObject
*/
protected $urlPathGenerator;
private $urlPathGenerator;

/**
* @var \Magento\CmsUrlRewrite\Model\CmsPageUrlRewriteGenerator
*/
protected $urlRewriteGenerator;
private $urlRewriteGenerator;

/**
* @return void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
</field>
</dataset>
<dataset name="enable_single_store_mode">
<field name="general/;/enabled" xsi:type="array">
<field name="general/single_store_mode/enabled" xsi:type="array">
<item name="scope" xsi:type="string">default</item>
<item name="scope_id" xsi:type="number">0</item>
<item name="label" xsi:type="string">Yes</item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class CreateCmsPageEntityTest extends Injectable
*
* @var string
*/
protected $configData;
private $configData;

/**
* Inject pages.
Expand Down Expand Up @@ -104,7 +104,7 @@ public function test(array $data, $fixtureType, $configData = '')
}

/**
* Disable MAP on Config level.
* Disable single store mode on config level.
*
* @return void
*/
Expand Down

0 comments on commit 623d29d

Please sign in to comment.