From 626f320602d81d5ba294a5d7eb231c36e762b4ae Mon Sep 17 00:00:00 2001 From: okarpenko <okarpenko@ebay.com> Date: Mon, 30 Mar 2015 11:43:24 +0300 Subject: [PATCH] MAGETWO-35487: HTML minification management --- .../Payment/Test/Unit/Block/Info/CcTest.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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 98760f01eac..72deb26aefc 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] ]; -- GitLab