Skip to content

Commit eb31f86

Browse files
committed
Fix the getting of the Serializer Json mock object to match the coding standards and add a space after each comman in the function call
1 parent d350783 commit eb31f86

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/code/Magento/Checkout/Test/Unit/Block/Cart/ShippingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected function setUp()
7474

7575
$this->storeManager = $this->getMock(\Magento\Store\Model\StoreManagerInterface::class);
7676
$this->context->expects($this->once())->method('getStoreManager')->willReturn($this->storeManager);
77-
$this->serializer = $this->getMock(\Magento\Framework\Serialize\Serializer\Json::class,[],[],'',false);
77+
$this->serializer = $this->getMock(\Magento\Framework\Serialize\Serializer\Json::class, [], [], '', false);
7878

7979
$this->model = new \Magento\Checkout\Block\Cart\Shipping(
8080
$this->context,

app/code/Magento/Checkout/Test/Unit/Block/Cart/SidebarTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ protected function setUp()
9999
->method('getRequest')
100100
->will($this->returnValue($this->requestMock));
101101

102-
$this->serializer = $this->getMock(\Magento\Framework\Serialize\Serializer\Json::class,[],[],'',false);
102+
$this->serializer = $this->getMock(\Magento\Framework\Serialize\Serializer\Json::class, [], [], '', false);
103103

104104
$this->model = $this->_objectManager->getObject(
105105
\Magento\Checkout\Block\Cart\Sidebar::class,

app/code/Magento/Checkout/Test/Unit/Block/OnepageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ protected function setUp()
5959
false
6060
);
6161

62-
$this->serializer = $this->getMock(\Magento\Framework\Serialize\Serializer\Json::class,[],[],'',false);
62+
$this->serializer = $this->getMock(\Magento\Framework\Serialize\Serializer\Json::class, [], [], '', false);
6363

6464
$this->model = new \Magento\Checkout\Block\Onepage(
6565
$contextMock,

0 commit comments

Comments
 (0)