diff --git a/app/code/Magento/Catalog/Test/Unit/Controller/Adminhtml/Category/MoveTest.php b/app/code/Magento/Catalog/Test/Unit/Controller/Adminhtml/Category/MoveTest.php index d729d0ffbdccc..b839f4e63476e 100644 --- a/app/code/Magento/Catalog/Test/Unit/Controller/Adminhtml/Category/MoveTest.php +++ b/app/code/Magento/Catalog/Test/Unit/Controller/Adminhtml/Category/MoveTest.php @@ -115,7 +115,7 @@ public function testExecuteWithGenericException() $layoutMock->expects($this->once()) ->method('getMessagesBlock') ->willReturn($messageBlock); - $wysiwigConfig = $this->getMockBuilder(\Magento\Cms\Model\Wysiwyg\Config::class) + $wysiwygConfig = $this->getMockBuilder(\Magento\Cms\Model\Wysiwyg\Config::class) ->disableOriginalConstructor() ->getMock(); $registry = $this->getMockBuilder(Registry::class) @@ -135,7 +135,7 @@ public function testExecuteWithGenericException() $this->objectManager->expects($this->any()) ->method('get') ->withConsecutive([Registry::class], [Registry::class], [\Magento\Cms\Model\Wysiwyg\Config::class]) - ->willReturnMap([[Registry::class, $registry], [\Magento\Cms\Model\Wysiwyg\Config::class, $wysiwigConfig]]); + ->willReturnMap([[Registry::class, $registry], [\Magento\Cms\Model\Wysiwyg\Config::class, $wysiwygConfig]]); $categoryMock->expects($this->once()) ->method('move') ->willThrowException(new \Exception( @@ -189,7 +189,7 @@ public function testExecuteWithLocaliedException() $layoutMock->expects($this->once()) ->method('getMessagesBlock') ->willReturn($messageBlock); - $wysiwigConfig = $this->getMockBuilder(\Magento\Cms\Model\Wysiwyg\Config::class) + $wysiwygConfig = $this->getMockBuilder(\Magento\Cms\Model\Wysiwyg\Config::class) ->disableOriginalConstructor() ->getMock(); $registry = $this->getMockBuilder(Registry::class) @@ -209,7 +209,7 @@ public function testExecuteWithLocaliedException() $this->objectManager->expects($this->any()) ->method('get') ->withConsecutive([Registry::class], [Registry::class], [\Magento\Cms\Model\Wysiwyg\Config::class]) - ->willReturnMap([[Registry::class, $registry], [\Magento\Cms\Model\Wysiwyg\Config::class, $wysiwigConfig]]); + ->willReturnMap([[Registry::class, $registry], [\Magento\Cms\Model\Wysiwyg\Config::class, $wysiwygConfig]]); $this->messageManager->expects($this->once()) ->method('addExceptionMessage'); $this->messageManager->expects($this->once()) @@ -261,7 +261,7 @@ public function testSuccessfullCategorySave() $layoutMock->expects($this->once()) ->method('getMessagesBlock') ->willReturn($messageBlock); - $wysiwigConfig = $this->getMockBuilder(\Magento\Cms\Model\Wysiwyg\Config::class) + $wysiwygConfig = $this->getMockBuilder(\Magento\Cms\Model\Wysiwyg\Config::class) ->disableOriginalConstructor() ->getMock(); $registry = $this->getMockBuilder(Registry::class) @@ -281,7 +281,7 @@ public function testSuccessfullCategorySave() $this->objectManager->expects($this->any()) ->method('get') ->withConsecutive([Registry::class], [Registry::class], [\Magento\Cms\Model\Wysiwyg\Config::class]) - ->willReturnMap([[Registry::class, $registry], [\Magento\Cms\Model\Wysiwyg\Config::class, $wysiwigConfig]]); + ->willReturnMap([[Registry::class, $registry], [\Magento\Cms\Model\Wysiwyg\Config::class, $wysiwygConfig]]); $this->messageManager->expects($this->once()) ->method('getMessages') ->with(true)