Skip to content

Commit 81cb7bd

Browse files
MAGETWO-98886: Gift Card Accounts: expiration date subtracts one day
1 parent 7f21b60 commit 81cb7bd

File tree

1 file changed

+3
-3
lines changed
  • dev/tests/integration/testsuite/Magento/Framework/Data/Form/Element

1 file changed

+3
-3
lines changed

dev/tests/integration/testsuite/Magento/Framework/Data/Form/Element/DateTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ class DateTest extends \PHPUnit\Framework\TestCase
1717
/**
1818
* @var ElementFactory
1919
*/
20-
protected $_elementFactory;
20+
private $elementFactory;
2121

2222
/**
2323
* @inheritdoc
2424
*/
2525
protected function setUp()
2626
{
2727
$objectManager = Bootstrap::getObjectManager();
28-
$this->_elementFactory = $objectManager->create(ElementFactory::class);
28+
$this->elementFactory = $objectManager->create(ElementFactory::class);
2929
}
3030

3131
/**
@@ -39,7 +39,7 @@ protected function setUp()
3939
public function testGetValue(array $data, string $expect): void
4040
{
4141
/** @var $date Date */
42-
$date = $this->_elementFactory->create(Date::class, $data);
42+
$date = $this->elementFactory->create(Date::class, $data);
4343
$this->assertEquals($expect, $date->getValue());
4444
}
4545

0 commit comments

Comments
 (0)