Skip to content

Commit 9026ada

Browse files
committed
MAGETWO-51926: All Integration Tests for Elasticsearch are Skipped
- Correct date format in integration test
1 parent 89cca73 commit 9026ada

File tree

1 file changed

+2
-1
lines changed
  • dev/tests/integration/testsuite/Magento/Framework/Search/Adapter/Mysql

1 file changed

+2
-1
lines changed

dev/tests/integration/testsuite/Magento/Framework/Search/Adapter/Mysql/AdapterTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,8 @@ public function testAdvancedSearchDateField($rangeFilter, $expectedRecordsCount)
407407
{
408408
array_walk($rangeFilter, function (&$item) {
409409
if (!empty($item)) {
410-
$item = gmdate('c', strtotime($item));
410+
$item = gmdate('c', strtotime($item)) . 'Z';
411+
$item = str_replace('+00:00', '', $item);
411412
}
412413
});
413414
$this->requestBuilder->bind('date.from', $rangeFilter['from']);

0 commit comments

Comments
 (0)