diff --git a/app/code/Magento/Payment/Test/Unit/Block/Info/CcTest.php b/app/code/Magento/Payment/Test/Unit/Block/Info/CcTest.php index 98760f01eacc72e2c5536061b47d90dc130638dc..72deb26aefc070d473031645749bf9e49249fb77 100644 --- a/app/code/Magento/Payment/Test/Unit/Block/Info/CcTest.php +++ b/app/code/Magento/Payment/Test/Unit/Block/Info/CcTest.php @@ -132,14 +132,18 @@ class CcTest extends \PHPUnit_Framework_TestCase public function testGetCcExpDate($ccExpMonth, $ccExpYear) { $paymentInfo = $this->getMock('Magento\Payment\Model\Info', ['getCcExpMonth', 'getCcExpYear'], [], '', false); - $paymentInfo->expects($this->any()) + $paymentInfo + ->expects($this->any()) ->method('getCcExpMonth') ->will($this->returnValue($ccExpMonth)); - $paymentInfo->expects($this->any()) - ->method('getCcExpYear')->will($this->returnValue($ccExpYear)); + $paymentInfo + ->expects($this->any()) + ->method('getCcExpYear') + ->will($this->returnValue($ccExpYear)); $this->model->setData('info', $paymentInfo); - $this->localeDate->expects($this->exactly(2)) + $this->localeDate + ->expects($this->exactly(2)) ->method('getConfigTimezone') ->willReturn('America/Los_Angeles'); @@ -153,7 +157,7 @@ class CcTest extends \PHPUnit_Framework_TestCase public function getCcExpDateDataProvider() { return [ - [2, 2015], + [3, 2015], [12, 2011], [01, 2036] ];