You are here

public function TimezoneTest::testDatelistTimezonePropertyProcessed in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php \Drupal\KernelTests\Core\Datetime\Element\TimezoneTest::testDatelistTimezonePropertyProcessed()
  2. 10 core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php \Drupal\KernelTests\Core\Datetime\Element\TimezoneTest::testDatelistTimezonePropertyProcessed()

On datelist elements test #date_timezone after ::processDatetime.

See testDatetimeTimezonePropertyProcessed() for more explanation.

File

core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php, line 242

Class

TimezoneTest
Tests the timezone handling of datetime and datelist element types.

Namespace

Drupal\KernelTests\Core\Datetime\Element

Code

public function testDatelistTimezonePropertyProcessed() {
  $this
    ->assertDateTimezonePropertyProcessed('datelist');
}