public function SearchApiDateTest::setUp in Facets 8
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ Plugin/ query_type/ SearchApiDateTest.php, line 35
Class
- SearchApiDateTest
- Kernel test for date query type.
Namespace
Drupal\Tests\facets\Kernel\Plugin\query_typeCode
public function setUp() {
parent::setUp();
// This is the default set by Drupal as well, but to be explicit we set it
// here as well. The raw value is the UTC, the displayed value is calculated
// by the PHP timezone - presently.
date_default_timezone_set('Australia/Sydney');
$this
->installEntitySchema('facets_facet');
}