Skip to content

Commit 501590b

Browse files
committed
ACP2E-3561: Customer Segment edition fails with daterange
1 parent d45b839 commit 501590b

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

lib/internal/Magento/Framework/Data/Form/Element/Date.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
<?php
2-
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
5-
*/
6-
72
/**
83
* Copyright 2011 Adobe
94
* All Rights Reserved.

lib/internal/Magento/Framework/Data/Test/Unit/Form/Element/DateTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ public function testGetValue($dateFormat, $format, $timeFormat, $expectedFormat)
140140
$this->localeDateMock->expects($this->once())
141141
->method('formatDateTime')
142142
->with(
143-
$this->equalTo($dateTime),
144-
$this->isNull(),
145-
$this->isNull(),
146-
$this->isNull(),
143+
$dateTime,
144+
null,
145+
null,
146+
null,
147147
$this->equalTo($dateTime->getTimezone()),
148148
$this->equalTo($expectedFormat)
149149
)

0 commit comments

Comments
 (0)