public function TestSuiteBaseTest::testLocalTimeZone in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php \Drupal\Tests\Core\Test\TestSuiteBaseTest::testLocalTimeZone()
- 9 core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php \Drupal\Tests\Core\Test\TestSuiteBaseTest::testLocalTimeZone()
Tests the assumption that local time is in 'Australia/Sydney'.
File
- core/
tests/ Drupal/ Tests/ Core/ Test/ TestSuiteBaseTest.php, line 108
Class
- TestSuiteBaseTest
- @coversDefaultClass \Drupal\Tests\TestSuites\TestSuiteBase
Namespace
Drupal\Tests\Core\TestCode
public function testLocalTimeZone() {
// The 'Australia/Sydney' time zone is set in core/tests/bootstrap.php
$this
->assertEquals('Australia/Sydney', date_default_timezone_get());
}