Skip to content

Commit 479fbfd

Browse files
MAGETWO-34934: Date product attribute value differs with admin on one day
1 parent 0edb55a commit 479fbfd

File tree

1 file changed

+0
-3
lines changed
  • dev/tests/unit/testsuite/Magento/Eav/Model/Entity/Attribute/Frontend

1 file changed

+0
-3
lines changed

dev/tests/unit/testsuite/Magento/Eav/Model/Entity/Attribute/Frontend/DatetimeTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ public function testGetValue()
6363
$this->localeDateMock->expects($this->once())->method('formatDateTime')
6464
->with($date, \IntlDateFormatter::MEDIUM, \IntlDateFormatter::NONE, null, null, null)
6565
->willReturn($attributeValue);
66-
$this->localeDateMock->expects($this->once())->method('date')
67-
->with($date)
68-
->willReturn($date);
6966

7067
$this->assertEquals($attributeValue, $this->model->getValue($object));
7168
}

0 commit comments

Comments
 (0)