Skip to content

Commit dbb786e

Browse files
author
Maksym Savich
committed
MAGETWO-36918: Versions tab is absent after publish CMS page on update
1 parent 084284e commit dbb786e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app/code/Magento/Cms/Test/Unit/Ui/Component/Listing/Column/PageActionsTest.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © 2015 Magento. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
namespace Magento\Cms\Test\Unit\Model\Ui\Component\Listing\Column;
67

78
class PageActionsTest extends \PHPUnit_Framework_TestCase
89
{
@@ -43,7 +44,11 @@ public function testPrepareItemsByPageId()
4344
];
4445

4546
// Configure mocks and object data
46-
$urlBuilderMock->expects($this->once())->method('getUrl')->with($inputUrl, ['page_id' => 1])->willReturn($fullUrl);
47+
$urlBuilderMock->expects($this->once())
48+
->method('getUrl')
49+
->with($inputUrl, ['page_id' => 1])
50+
->willReturn($fullUrl);
51+
4752
$model->setName($name);
4853
// Run test
4954
$this->assertEquals(

0 commit comments

Comments
 (0)