Skip to content

Commit 626f320

Browse files
author
okarpenko
committed
MAGETWO-35487: HTML minification management
1 parent 79f669e commit 626f320

File tree

1 file changed

+9
-5
lines changed
  • app/code/Magento/Payment/Test/Unit/Block/Info

1 file changed

+9
-5
lines changed

app/code/Magento/Payment/Test/Unit/Block/Info/CcTest.php

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,18 @@ public function ccExpMonthDataProvider()
132132
public function testGetCcExpDate($ccExpMonth, $ccExpYear)
133133
{
134134
$paymentInfo = $this->getMock('Magento\Payment\Model\Info', ['getCcExpMonth', 'getCcExpYear'], [], '', false);
135-
$paymentInfo->expects($this->any())
135+
$paymentInfo
136+
->expects($this->any())
136137
->method('getCcExpMonth')
137138
->will($this->returnValue($ccExpMonth));
138-
$paymentInfo->expects($this->any())
139-
->method('getCcExpYear')->will($this->returnValue($ccExpYear));
139+
$paymentInfo
140+
->expects($this->any())
141+
->method('getCcExpYear')
142+
->will($this->returnValue($ccExpYear));
140143
$this->model->setData('info', $paymentInfo);
141144

142-
$this->localeDate->expects($this->exactly(2))
145+
$this->localeDate
146+
->expects($this->exactly(2))
143147
->method('getConfigTimezone')
144148
->willReturn('America/Los_Angeles');
145149

@@ -153,7 +157,7 @@ public function testGetCcExpDate($ccExpMonth, $ccExpYear)
153157
public function getCcExpDateDataProvider()
154158
{
155159
return [
156-
[2, 2015],
160+
[3, 2015],
157161
[12, 2011],
158162
[01, 2036]
159163
];

0 commit comments

Comments
 (0)