public function DateRangeTest::rangeQueryDataProvider in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 tests/src/Kernel/Processor/DateRangeTest.php \Drupal\Tests\search_api_solr\Kernel\Processor\DateRangeTest::rangeQueryDataProvider()
- 8.2 tests/src/Kernel/Processor/DateRangeTest.php \Drupal\Tests\search_api_solr\Kernel\Processor\DateRangeTest::rangeQueryDataProvider()
Data provider for testIndexField method.
File
- tests/
src/ Kernel/ Processor/ DateRangeTest.php, line 205
Class
- DateRangeTest
- Tests the "Date range" processor.
Namespace
Drupal\Tests\search_api_solr\Kernel\ProcessorCode
public function rangeQueryDataProvider() {
return [
[
'field_date_range',
'2016-11-12',
'2016-10-20',
],
[
'field_date_ranges',
'2015-11-12',
'2015-10-20',
],
[
'field_date_ranges',
'2014-11-12',
'2014-10-20',
],
];
}