class TestSuiteBaseTest
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php \Drupal\Tests\Core\Test\TestSuiteBaseTest
- 8.9.x core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php \Drupal\Tests\Core\Test\TestSuiteBaseTest
- 10 core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php \Drupal\Tests\Core\Test\TestSuiteBaseTest
@group Test
Hierarchy
- class \Drupal\Tests\Core\Test\TestSuiteBaseTest extends \PHPUnit\Framework\TestCase
Expanded class hierarchy of TestSuiteBaseTest
File
-
core/
tests/ Drupal/ Tests/ Core/ Test/ TestSuiteBaseTest.php, line 12
Namespace
Drupal\Tests\Core\TestView source
class TestSuiteBaseTest extends TestCase {
/**
* Tests the assumption that local time is in 'Australia/Sydney'.
*/
public function testLocalTimeZone() : void {
// The 'Australia/Sydney' time zone is set in core/tests/bootstrap.php
$this->assertEquals('Australia/Sydney', date_default_timezone_get());
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
TestSuiteBaseTest::testLocalTimeZone | public | function | Tests the assumption that local time is in 'Australia/Sydney'. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.