File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -513,6 +513,9 @@ public function setIsActive($isActive)
513
513
return $ this ->setData (self ::IS_ACTIVE , $ isActive );
514
514
}
515
515
516
+ /**
517
+ * {@inheritdoc}
518
+ */
516
519
public function beforeSave ()
517
520
{
518
521
$ originalIdentifier = $ this ->getOrigData ('identifier ' );
Original file line number Diff line number Diff line change 14
14
15
15
/**
16
16
* @covers \Magento\Cms\Model\Page
17
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
17
18
*/
18
19
class PageTest extends \PHPUnit_Framework_TestCase
19
20
{
@@ -57,7 +58,7 @@ protected function setUp()
57
58
->getMock ();
58
59
$ this ->resourcePageMock = $ this ->getMockBuilder (PageResource::class)
59
60
->disableOriginalConstructor ()
60
- ->setMethods (['getIdFieldName ' , 'checkIdentifier ' , ])
61
+ ->setMethods (['getIdFieldName ' , 'checkIdentifier ' ])
61
62
->getMock ();
62
63
$ this ->eventManagerMock = $ this ->getMockBuilder (ManagerInterface::class)
63
64
->disableOriginalConstructor ()
You can’t perform that action at this time.
0 commit comments